From 2cebc4f89e653781695d589d71180f195e5fb6ba Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Fri, 24 Jan 2020 23:38:16 +0000 Subject: fetchmailconf: Make RunWindow resizeable. --- fetchmailconf.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/fetchmailconf.py b/fetchmailconf.py index 6cf9ffe7..2573075c 100755 --- a/fetchmailconf.py +++ b/fetchmailconf.py @@ -1937,7 +1937,7 @@ class RunWindow(Frame): make_icon_window(self, fetchmail_icon) # This is a scrolling text window - textframe = Frame(self) + textframe = Frame(master) scroll = Scrollbar(textframe) self.textwidget = Text(textframe, setgrid=TRUE) textframe.pack(side=TOP, expand=YES, fill=BOTH) @@ -1945,9 +1945,7 @@ class RunWindow(Frame): self.textwidget.pack(side=LEFT, expand=YES, fill=BOTH) scroll.config(command=self.textwidget.yview) scroll.pack(side=RIGHT, fill=BOTH) - textframe.pack(side=TOP) - - Button(self, text='Quit', fg='blue', command=self.leave).pack() + Button(self.master, text='Quit', fg='blue', command=self.leave).pack() self.update() # Draw widget before executing fetchmail -- cgit v1.2.3