[gtk+/wip/otherlocations-fixes: 135/139] gtkplacesview: tweak ui to allow more server rows
- From: Carlos Soriano Sánchez <csoriano src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/otherlocations-fixes: 135/139] gtkplacesview: tweak ui to allow more server rows
- Date: Wed, 14 Oct 2015 12:16:56 +0000 (UTC)
commit 8a641f94c0917c66f49b145f9d7e8b626ed7abfb
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]