]> Pileus Git - ~andy/gtk/commit
Fixed GtkViewport to set adjustments properly for width-for-height widgets
authorTristan Van Berkom <tristan.van.berkom@gmail.com>
Wed, 22 Sep 2010 03:48:37 +0000 (12:48 +0900)
committerTristan Van Berkom <tristan.van.berkom@gmail.com>
Wed, 22 Sep 2010 03:50:06 +0000 (12:50 +0900)
commit0e1bba6ef5817730dbe1cd53c9ba8a5ea6972053
tree5f6cad796c2869bb6169f1d80b443bd7a7ee16bd
parentbb903941473ab5d8c8f274a36e263f282bcab48d
Fixed GtkViewport to set adjustments properly for width-for-height widgets

Make GtkViewport calculate widget-for-height as well as height-for-width
cases when setting the scroll adjustment values, also base the scrolling
on the minimum size instead of the natural size in the interest of showing
as much content as possible when the viewport is smaller than the natural
size.
gtk/gtkviewport.c