[gnome-contacts] Document the entry sizeing



commit 3e7dc5e4ca8a0764eede1f475f277995df199e6e
Author: Alexander Larsson <alexl redhat com>
Date:   Thu Jun 23 21:06:20 2011 +0200

    Document the entry sizeing

 src/contacts-types.vala |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/contacts-types.vala b/src/contacts-types.vala
index 55be279..b3ea5a5 100644
--- a/src/contacts-types.vala
+++ b/src/contacts-types.vala
@@ -359,7 +359,9 @@ public class Contacts.TypeCombo : Grid  {
     entry = new Entry ();
     entry.set_halign (Align.FILL);
     entry.set_hexpand (true);
-    entry.width_chars = 10;
+    // Make the default entry small so we don't unnecessarily
+    // expand the labels (it'll be expanded a bit anyway)
+    entry.width_chars = 4;
 
     this.add (entry);
 



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