[gnome-control-center] user-accounts: Fix history dialog height



commit 77c26aa16292f6a4ad1fed1d9c40e96a9cff8823
Author: Ondrej Holy <oholy redhat com>
Date:   Fri Jul 29 15:25:08 2016 +0200

    user-accounts: Fix history dialog height
    
    History dialog changes its height depending on number of entries. It
    is caused by the recent GtkScrolledWindow changes from Bug 766569. Set
    fixed min and max content heights to avoid this behavioral.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=767065

 panels/user-accounts/data/history-dialog.ui |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/panels/user-accounts/data/history-dialog.ui b/panels/user-accounts/data/history-dialog.ui
index a1b5f8a..7ad6433 100644
--- a/panels/user-accounts/data/history-dialog.ui
+++ b/panels/user-accounts/data/history-dialog.ui
@@ -78,7 +78,8 @@
             <child>
               <object class="GtkScrolledWindow" id="scrolledwindow1">
                 <property name="width_request">350</property>
-                <property name="height_request">300</property>
+                <property name="min-content-height">300</property>
+                <property name="max-content-height">300</property>
                 <property name="visible">True</property>
                 <property name="can_focus">True</property>
                 <property name="hexpand">True</property>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]