Resizing/rotating applets

Alex Merry huntedhacker at tiscali.co.uk
Sun Jan 6 13:14:08 CET 2008


At Sunday 06 January 2008 03:45, you wrote:
> When the resize button is close to the center vertically, resizing just a 
> single pixel dramatically increases the height. Moving the resize button to 
> the top-left would be a quick workaround, but perhaps resizing should be 
> calculated based on the distance rather than on ratios? That is, moving the 
> mouse one pixel away from the initial click would increase by 2 pixels (one 
> on the top and one on the bottom) so that the position of the button becomes 
> irrelevant...

If you change the calculation method, you lose the nice effect of the button always staying under the mouse (providing you don't reach the minimum or maximum sizes, of course).

Can you try the attached patch?  It swaps the configure and resize buttons, since the configure button doesn't need any particular position, and the rotate button seems to work fine in second position.

Alex 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/x-diff
Size: 2146 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/panel-devel/attachments/20080106/a93ee770/attachment.bin 


More information about the Panel-devel mailing list