[gtk+] gtkplacesview: tweak ui to allow more server rows



commit 831509f6aa693cf5fddecb36b6449f73ab6c3d87
Author: Carlos Soriano <csoriano gnome org>
Date:   Wed Sep 23 19:55:11 2015 +0200

    gtkplacesview: tweak ui to allow more server rows
    
    Following design guidance, reduce row height and increase
    popover height so the user is allowed to see more than 3
    rows.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=756568

 gtk/gtkplacesview.c     |    2 +-
 gtk/ui/gtkplacesview.ui |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkplacesview.c b/gtk/gtkplacesview.c
index 957eeb8..82c755e 100644
--- a/gtk/gtkplacesview.c
+++ b/gtk/gtkplacesview.c
@@ -556,7 +556,7 @@ populate_servers (GtkPlacesView *view)
 
       grid = g_object_new (GTK_TYPE_GRID,
                            "orientation", GTK_ORIENTATION_VERTICAL,
-                           "border-width", 6,
+                           "border-width", 3,
                            NULL);
 
       /* name of the connected uri, if any */
diff --git a/gtk/ui/gtkplacesview.ui b/gtk/ui/gtkplacesview.ui
index cd19b10..d554c28 100644
--- a/gtk/ui/gtkplacesview.ui
+++ b/gtk/ui/gtkplacesview.ui
@@ -75,7 +75,7 @@
                 <property name="vexpand">1</property>
                 <property name="shadow_type">in</property>
                 <property name="min_content_width">250</property>
-                <property name="min_content_height">150</property>
+                <property name="min_content_height">200</property>
                 <child>
                   <object class="GtkViewport">
                     <property name="visible">1</property>


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