Re: New to Tkinter GUI building
- From: Adonis Vargas <adonis@xxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 28 Feb 2007 21:13:06 GMT
Adam wrote:
<snip>
I think my main questions are:<snip>
1. How can I get the Window to be sized the way I want it?
2. How can I get the Scrollbars to fill the side of the text box
instead of being small? (like .pack(fill= tk.Y)
I have only posted the code relevant to the GUI.
TIA
Adam
To size the window use Tk's geometry method
self.top.geometry("%dx%d%+d%+d" % (800, 600, 0, 0)) # (width, height, x, y)
For the scrollbar to fill vertically, use the sticky grid option.
self.scrlr1.grid(row=0, column=1, sticky=tk.N + tk.S)
Hope this helps.
Adonis
.
- References:
- New to Tkinter GUI building
- From: Adam
- New to Tkinter GUI building
- Prev by Date: Re: convert many excel files to pdf in batch
- Next by Date: Re: How to check for remaining hard drive space in Windows?
- Previous by thread: New to Tkinter GUI building
- Index(es):
Relevant Pages
|
|