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

Manuel Quiñones manuq at laptop.org
Mon Feb 25 08:25:38 EST 2013


2013/2/25 Walter Bender <walter.bender at gmail.com>:
> 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.

Excellent Walter, I wasn't aware of this issue.

The patch fixes it, thanks.

-- 
.. manuq ..


More information about the Sugar-devel mailing list