[gnome-contacts] Fix sizing of the list in the link dialog



commit 89aaa4af7bdceb86ca03255973af95ac325bf0eb
Author: Alexander Larsson <alexl redhat com>
Date:   Thu Aug 25 13:45:27 2011 +0200

    Fix sizing of the list in the link dialog

 src/contacts-link-dialog.vala |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/contacts-link-dialog.vala b/src/contacts-link-dialog.vala
index 72410d8..9b4e3c4 100644
--- a/src/contacts-link-dialog.vala
+++ b/src/contacts-link-dialog.vala
@@ -80,6 +80,8 @@ public class Contacts.LinkDialog : Dialog {
     container.add (grid);
 
     var list_grid = new Grid ();
+    list_grid.set_size_request (315, -1);
+    list_grid.set_hexpand (false);
     grid.attach (list_grid, 0, 0, 1, 1);
     list_grid.set_orientation (Orientation.VERTICAL);
 
@@ -112,6 +114,7 @@ public class Contacts.LinkDialog : Dialog {
     scrolled.set_min_content_width (310);
     scrolled.set_policy (PolicyType.NEVER, PolicyType.AUTOMATIC);
     scrolled.set_vexpand (true);
+    scrolled.set_hexpand (true);
     scrolled.set_shadow_type (ShadowType.NONE);
     scrolled.add (list);
     list_grid.add (scrolled);



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