widget snap

Roman Shtylman shtylman at gmail.com
Sat Jan 2 07:24:03 CET 2010


I was sitting around trying to organize some of my plasmoids... and
realized that you can't easily make a stack of plasmoids all exactly
aligned ... at least not that I could figure out. I thought it would
be really cool to be able to snap plasmoids to other plasmoids as well
as to virtual "guidelines" created by the bounding boxes of the
plasmoids. I spent a few hours and finally got the effect I was
looking for. Should work for both moves and resizes. Attached is the
patch against kdelibs head. Right now the snap "strength" is hard
coded to 3 pixels.

~Roman
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-added-plasma-widget-snap.patch
Type: text/x-patch
Size: 7192 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/plasma-devel/attachments/20100102/38899740/attachment.patch 


More information about the Plasma-devel mailing list