Hi all,
I’m new on the list. Now moving from GTK to Tkinter.
I have question about packing in frame.

Example:

frame2 = Frame(self)
hScrollbar = ttk.Scrollbar(frame2, orient=HORIZONTAL)
self.text = Text(frame2,
                        font='Courier 9',
                        undo=True,
                        background='white',
                        wrap=NONE)
self.text.pack(fill=BOTH, expand=1)
hScrollbar.pack(side=BOTTOM, fill=X)
frame2.pack(side=LEFT, fill=BOTH, expand=1)

in this little example i have defined hScrollbar.
all working fine until i resize main window when frame2 is.
if i resize window under 24lines in Text is visible scrollbar dissapear.

is this wrong packing ? thanks.
_______________________________________________
Tkinter-discuss mailing list
Tkinter-discuss@python.org
http://mail.python.org/mailman/listinfo/tkinter-discuss

Reply via email to