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-14 14:10:20 +0200
commit8a641f94c0917c66f49b145f9d7e8b626ed7abfb (patch)
tree1150ea852312e04bd1f9d215b04644883561dd28
parent6f6f13a7d8cf245a1e6b6d16ad08ee61d7deb7ce (diff)
downloadgtk+-8a641f94c0917c66f49b145f9d7e8b626ed7abfb.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.
-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 8fc6ec7f8b..328b52a366 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 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>