[gnome-control-center] printers: Set min-content-height on the scrolled window
- From: Felipe Borges <felipeborges src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] printers: Set min-content-height on the scrolled window
- Date: Mon, 13 Feb 2017 18:46:53 +0000 (UTC)
commit ae17ba1f4701496671e5c08610e24dcf541ee33e
Author: Felipe Borges <felipeborges gnome org>
Date: Mon Feb 13 16:08:49 2017 +0100
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
panels/printers/printers.ui | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/panels/printers/printers.ui b/panels/printers/printers.ui
index 5e5b01d..9f7391a 100644
--- a/panels/printers/printers.ui
+++ b/panels/printers/printers.ui
@@ -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>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]