[gtk+/wip/otherlocations-fixes: 2/6] gtkplacesview: tweak ui to allow more server rows



commit 59bd059e41d2f8fafb6bbb025e8a5706663574fd
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.

 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 8fc6ec7..328b52a 100644
--- a/gtk/gtkplacesview.c
+++ b/gtk/gtkplacesview.c
@@ -560,7 +560,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]