[Tkinter-discuss] horizontal scrollbar in frame with text widget

2011-01-02 Thread spooky.ln
Thanks so much, this helps. i tried set Text height before but scrollbar dissapeared always after line height set. Changing packing order like you write solved my problem. “”” I think if you change the packing order, like: hScrollbar.pack(side=BOTTOM, fill=X) self.text.pack(fill=BOTH, e

Re: [Tkinter-discuss] horizontal scrollbar in frame with text widget

2011-01-01 Thread Michael Lange
Hi, Thus spoketh unto us on Sat, 1 Jan 2011 20:56:57 +0100: > Hi all, > I’m new on the list. Now moving from GTK to Tkinter. Then welcome aboard :) > I have question about packing in frame. > > Example: > > frame2 = Frame(self) > hScrollbar = ttk.Scrollbar(frame2, orient=HORIZONTAL) > self.

[Tkinter-discuss] horizontal scrollbar in frame with text widget

2011-01-01 Thread spooky.ln
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,