diff options
author | Gary Martin <gary@garycmartin.com> | 2010-08-28 15:18:37 (GMT) |
---|---|---|
committer | Gary Martin <gary@garycmartin.com> | 2010-08-28 15:18:37 (GMT) |
commit | c77eb31f37c29d2cf75b8b3bf58f1e4d3a4a688a (patch) | |
tree | fca8cfcf971909d2a0cb8dcd8389f7c42dd89dc2 | |
parent | 30d8948e9216aca68e27e510bf8aa2f91384b820 (diff) |
Tweak to expanding separator so that it never pushs Stop off the toolbar when space is tight.
-rw-r--r-- | activity.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/activity.py b/activity.py index b4da258..9524b11 100644 --- a/activity.py +++ b/activity.py @@ -75,6 +75,7 @@ class PhysicsActivity(olpcgames.PyGameActivity): separator = gtk.SeparatorToolItem() separator.props.draw = False + separator.set_size_request(0, -1) separator.set_expand(True) toolbar_box.toolbar.insert(separator, -1) separator.show() |