From c77eb31f37c29d2cf75b8b3bf58f1e4d3a4a688a Mon Sep 17 00:00:00 2001 From: Gary Martin Date: Sat, 28 Aug 2010 15:18:37 +0000 Subject: Tweak to expanding separator so that it never pushs Stop off the toolbar when space is tight. --- (limited to 'activity.py') 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() -- cgit v0.9.1