summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2002-06-04 01:41:44 +0000
committerTim Potter <tpot@samba.org>2002-06-04 01:41:44 +0000
commitf504be133cd9659163a609eb11a09a36e56166ee (patch)
tree1b2cd9cbcb14e643ed19618a313aaab2ba7f711f
parent3eec0d64c7c4592d4f0d74108fb0be2b7a22bde6 (diff)
downloadsamba-f504be133cd9659163a609eb11a09a36e56166ee.tar.gz
samba-f504be133cd9659163a609eb11a09a36e56166ee.tar.xz
samba-f504be133cd9659163a609eb11a09a36e56166ee.zip
Fix long list scrolling bug.
Added some padding around the filter entry to make it look nicer. When resizing the window the scrolling list should get bigger/smaller not the filter entry widget.
-rwxr-xr-xsource/python/gtdbtool7
1 files changed, 3 insertions, 4 deletions
diff --git a/source/python/gtdbtool b/source/python/gtdbtool
index 670fca99730..65133667909 100755
--- a/source/python/gtdbtool
+++ b/source/python/gtdbtool
@@ -44,19 +44,18 @@ class gtdbtool:
scrolled_win = GtkScrolledWindow()
scrolled_win.set_policy(POLICY_AUTOMATIC, POLICY_AUTOMATIC)
vbox.pack_start(scrolled_win)
- scrolled_win.set_usize(350,400)
scrolled_win.show()
hbox = GtkHBox()
- vbox.pack_end(hbox)
+ vbox.pack_end(hbox, expand = 0, padding = 5)
hbox.show()
label = GtkLabel("Filter:")
- hbox.pack_start(label, expand = 0)
+ hbox.pack_start(label, expand = 0, padding = 5)
label.show()
self.entry = GtkEntry()
- hbox.pack_end(self.entry)
+ hbox.pack_end(self.entry, padding = 5)
self.entry.show()
self.entry.connect("activate", self.filter_activated)