summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlos Soriano <csoriano@gnome.org>2015-09-23 19:55:11 +0200
committerCarlos Soriano <csoriano@gnome.org>2015-10-15 19:18:54 +0200
commit831509f6aa693cf5fddecb36b6449f73ab6c3d87 (patch)
treee74ed78d235dd3279283c60a3bbc779b9a583a17
parent1dbcce785e0a0705ece237fe4c1ba8b99203639d (diff)
downloadgtk+-831509f6aa693cf5fddecb36b6449f73ab6c3d87.tar.gz
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
-rw-r--r--gtk/gtkplacesview.c2
-rw-r--r--gtk/ui/gtkplacesview.ui2
2 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkplacesview.c b/gtk/gtkplacesview.c
index 957eeb896d..82c755e719 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 cd19b10157..d554c28d09 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>