[gnome-tweak-tool] Dont vexpand tweak group list boxes



commit 04c4ffda90227c61a8f7fd090c056adab6322a05
Author: John Stowers <john stowers gmail com>
Date:   Sat Aug 10 20:40:17 2013 +0200

    Dont vexpand tweak group list boxes

 gtweak/widgets.py |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/gtweak/widgets.py b/gtweak/widgets.py
index be8dcb3..bc2ecf6 100644
--- a/gtweak/widgets.py
+++ b/gtweak/widgets.py
@@ -222,9 +222,12 @@ class ListBoxTweakGroup(Gtk.ListBox, TweakGroup):
                         name=options['uid'])
         self.get_style_context().add_class(
                         options.get('css_class','tweak-group'))
+        self.props.vexpand = False
+        self.props.valign = Gtk.Align.START
+
         TweakGroup.__init__(self, name, *tweaks, **options)
-        self._sg = Gtk.SizeGroup(
-                        mode=Gtk.SizeGroupMode.HORIZONTAL)
+
+        self._sg = Gtk.SizeGroup(mode=Gtk.SizeGroupMode.HORIZONTAL)
         self._sg.props.ignore_hidden = True
 
         for t in self.tweaks:


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