Tray: set a minimum size in the viewport so that it allows scrolling
The minimum height/width requested by the GtkViewport still tries to cater for all contained children, which makes the [VH]Tray widgets to grow as new items are added. Instead, request a minimum width/height of 0 to avoid the Tray from growing, and having scrolling kick in instead. Also, fixed what seemed to be a typo in do_get_preferred_height(), where the viewport width was requested instead. http://bugs.sugarlabs.org/ticket/3522 Signed-off-by: Carlos Garnacho <carlos@lanedo.com> Acked-by: Simon Schampijer <simon@laptop.org>master
parent
abe02123b7
commit
f36fc4ae85
Loading…
Reference in New Issue