[Sugar-devel] [PATCH] Options in my settings don't take up whole screen when screen is rotated, and brought into "Portrait" mode.

Walter Bender walter.bender at gmail.com
Mon Feb 25 08:20:35 EST 2013

Not sure if there is a Sugar Labs ticket for this, but the AC ticket
is here [1]. I was told of the problem by the OZ deployment.

When the control panel is opened for the first time, a table is
generated with a number of columns based on screen width. If the
screen is subsequently rotated, the column number is no longer
correct. In addition, the scrolled window holding the table needs to
be resized so that it fits on the screen.

This patch adds a size-changed callback that recomputes the number of
columns and resizes the table and its containing window.



[1] https://sugardextrose.org/issues/3110

Walter Bender
Sugar Labs
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-account-for-size-change-when-rotating-between-landsc.patch
Type: application/octet-stream
Size: 3056 bytes
Desc: not available
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20130225/5d37184e/attachment.obj>

More information about the Sugar-devel mailing list