gnome-shell/tests
Owen W. Taylor 8f7e6f8117 Allow NbtkBoxLayout to shrink down to its minimum size
When a NbtkBoxLayout is allocated a size less than its natural size,
think "shrink" needs to be divided among the children that have
a smaller minimum size than natural size.

This is done by preferentially shrinking the children that are most
expanded from their minimum size and then increasing that set of
children until we've found enough total shrink.

A new method is used of allocating children at integral sizes - instead
of rounding the per-child extra amount to an integer (which causes
cumulative round-off errors), compute the position as we go along in
floats and round individually for each child widget.

Extend the box-layout test to include of a test of a box being set
to various widths, starting quite narrow.

http://bugzilla.moblin.org/show_bug.cgi?id=6311
2009-09-21 19:32:33 -04:00
..
interactive Allow NbtkBoxLayout to shrink down to its minimum size 2009-09-21 19:32:33 -04:00
testcommon Rename ShellThemeImage to ShellBorderImage 2009-09-21 19:32:32 -04:00
Makefile.am Port our imported parts of Nbtk to ShellTheme 2009-09-21 19:32:18 -04:00
run-test.sh.in run-test.sh: support running tests under gdb 2009-09-21 19:32:23 -04:00