printers: Set min-content-height on the scrolled window

Set a minimum content height of 490px for the panel when the
allocated height is smaller than 490px.

490 is an estimated value for the panels to properly fit on netbook
screens. See https://wiki.gnome.org/Design/SystemSettings#Notes

https://bugzilla.gnome.org/show_bug.cgi?id=767600
This commit is contained in:
Felipe Borges 2017-02-13 16:08:49 +01:00
parent 378e04125d
commit ae17ba1f47

View file

@ -46,6 +46,8 @@
<child>
<object class="GtkScrolledWindow">
<property name="visible">True</property>
<property name="hscrollbar-policy">GTK_POLICY_NEVER</property>
<property name="min-content-height">490</property>
<child>
<object class="GtkBox" id="content">
<property name="visible">True</property>