From a5bcc977f399e3c375b2a3e5d54cd02c07d9e130 Mon Sep 17 00:00:00 2001 From: Worros Date: Fri, 18 Feb 2011 13:23:03 +0800 Subject: [PATCH] TourneyFilters: Add into ScrollWondow. --- pyfpdb/TourneyFilters.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pyfpdb/TourneyFilters.py b/pyfpdb/TourneyFilters.py index 7b3f235a..ae62cc6f 100644 --- a/pyfpdb/TourneyFilters.py +++ b/pyfpdb/TourneyFilters.py @@ -56,8 +56,15 @@ class TourneyFilters(Filters.Filters): if 'day_start' in gen: self.day_start = float(gen['day_start']) + self.sw = gtk.ScrolledWindow() + self.sw.set_border_width(0) + self.sw.set_policy(gtk.POLICY_AUTOMATIC, gtk.POLICY_AUTOMATIC) + self.sw.set_size_request(370, 300) + # Outer Packing box self.mainVBox = gtk.VBox(False, 0) + self.sw.add_with_viewport(self.mainVBox) + self.sw.show() self.label = {} self.callback = {}