<div>Hi Mr. M.-</div>  <div>&nbsp;</div>  <div>Change this line:</div>  <div>self.bible_scroll.pack (side = RIGHT, fill = Y, expand = "yes", anchor = W)</div>  <div>to this:</div>  <div>self.bible_scroll.pack (side = RIGHT, fill = Y, anchor = W)</div>  <div>&nbsp;</div>  <div>Remember that not everything needs to expand! Good luck with your project!</div>  <div>&nbsp;</div>  <div>If you get a chance, I'd like to know more offline (away from this list) about your app.</div>  <div>&nbsp;</div>  <div>Thanks,</div>  <div>&nbsp;</div>  <div>Harlin Seritt</div>  <div>http://www.seritt.org<BR><BR><B><I>tkinter-discuss-request@python.org</I></B> wrote:</div>  <BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">Send Tkinter-discuss mailing list submissions to<BR>tkinter-discuss@python.org<BR><BR>To subscribe or unsubscribe via the World Wide Web, visit<BR>http://mail.python.org/mailman/listinfo/tkinter-discuss<BR>or, via email, send a message
 with subject or body 'help' to<BR>tkinter-discuss-request@python.org<BR><BR>You can reach the person managing the list at<BR>tkinter-discuss-owner@python.org<BR><BR>When replying, please edit your Subject line so it is more specific<BR>than "Re: Contents of Tkinter-discuss digest..."<BR><BR><BR>Today's Topics:<BR><BR>1. Need help with a text + scrollbar widget and expansion<BR>(Mannequin*)<BR><BR><BR>----------------------------------------------------------------------<BR><BR>Message: 1<BR>Date: Mon, 20 Mar 2006 12:10:41 -0600<BR>From: Mannequin* <MANNSLISTS@INVIGORATED.ORG><BR>Subject: [Tkinter-discuss] Need help with a text + scrollbar widget<BR>and expansion<BR>To: Tkinter Discuss <TKINTER-DISCUSS@PYTHON.ORG><BR>Message-ID: &lt;441EF021.2010101@invigorated.org&gt;<BR>Content-Type: text/plain; charset=ISO-8859-1; format=flowed<BR><BR>Hi all,<BR><BR>I'm new to the list, and I have a question about how I can get a text + <BR>scrollbar widget to expand properly in their
 frame.<BR><BR>I'll first give you the sample code, then I'll link to images of the <BR>problem.<BR><BR>*********************************************************************<BR><BR>from Tkinter import *<BR><BR>APP_NAME = "Spurgeon"<BR>APP_VERSION = "0.10"<BR>BIBLE_BOOKS = ["Genesis", "Exodus", "Leviticus", "Numbers"]<BR><BR>class Spurgeon (Frame):<BR>"""Hopefully a class to create the Tkinter interface"""<BR>def __init__ (self, parent = None):<BR>"""Creates main window and widgets"""<BR>self.root = Tk ()<BR>self.root.title (APP_NAME + ' ' + APP_VERSION)<BR>self.root.config (borderwidth = 3)<BR><BR>Frame.__init__ (self, parent)<BR>self.pack (fill = "both", expand = "yes")<BR><BR>self.make_widgets ()<BR><BR>def make_widgets (self):<BR>"""Create the widgets for the main window"""<BR># Create the main menu<BR>self.mainmenu = Menu (self.root)<BR><BR># Create the File menu<BR>self.file_menu = Menu (self.mainmenu, tearoff = 0)<BR>self.file_menu.add_command (label = "Open", underline =
 0)<BR>self.file_menu.add_separator ()<BR>self.file_menu.add_command (label = "Quit", underline = 0, command = <BR>self.root.quit)<BR>self.mainmenu.add_cascade (label = "File", menu = self.file_menu, <BR>underline = 0)<BR><BR># Create the Edit menu<BR>self.edit_menu = Menu (self.mainmenu, tearoff = 0)<BR>self.edit_menu.add_command (label = "Cut", underline = 2)<BR>self.edit_menu.add_command (label = "Copy", underline = 0)<BR>self.edit_menu.add_command (label = "Paste", underline = 0)<BR>self.edit_menu.add_command (label = "Delete", underline = 0)<BR>self.mainmenu.add_cascade (label = "Edit", menu = self.edit_menu, <BR>underline = 0)<BR><BR># Create the Help menu<BR>self.help_menu = Menu (self.mainmenu, tearoff = 0)<BR>self.help_menu.add_command (label = "About", underline = 0)<BR>self.mainmenu.add_cascade (label = "Help", menu = self.help_menu, <BR>underline = 0)<BR><BR># Display the main menu<BR>self.root.config (menu = self.mainmenu)<BR><BR># Create the left
 frame<BR>self.tool_frame = Frame (self, borderwidth = 2)<BR>self.tool_frame.pack (side = LEFT, anchor = NW)<BR>Label (self.tool_frame, text = "Left frame").pack ()<BR><BR># Create the right frame<BR>self.view_frame = Frame (self, borderwidth = 2)<BR>self.view_frame.pack (side = RIGHT, expand = "yes", fill = "both")<BR># Create the area where the Bible is viewed from<BR>self.bible_scroll = Scrollbar (self.view_frame)<BR>self.bible_view = Text (self.view_frame, relief = SUNKEN)<BR>self.bible_scroll.config (command = self.bible_view.yview)<BR>self.bible_view.config (yscrollcommand = self.bible_scroll.set)<BR>self.bible_view.pack (side = LEFT, fill = "both", expand = "yes")<BR>self.bible_scroll.pack (side = RIGHT, fill = Y, expand = "yes", anchor <BR>= W)<BR><BR>if (__name__ == "__main__"):<BR>a = Spurgeon ()<BR>a.mainloop ()<BR><BR>*********************************************************************<BR><BR>Now, if you run this, you'll notice that when you expand the window
 <BR>horizontally ( &lt;---&gt; ) that the text + scrollbar widget doesn't expand <BR>with the window.<BR><BR>Here is a screenshot of the problem to illustrate what I'm talking about:<BR><BR><HTTP: problem.png images mannequin.invigorated.org><BR><BR>I hope I've given enough information here to be helpful.<BR><BR>By the way, is there anyway to enhance the look of the Tkinter widgets <BR>under Linux using what comes standard with Python. I'm trying to stay as <BR>standard as I possibly can.<BR><BR>Thanks!<BR>-M.<BR><BR><BR>------------------------------<BR><BR>_______________________________________________<BR>Tkinter-discuss mailing list<BR>Tkinter-discuss@python.org<BR>http://mail.python.org/mailman/listinfo/tkinter-discuss<BR><BR><BR>End of Tkinter-discuss Digest, Vol 25, Issue 7<BR>**********************************************<BR></BLOCKQUOTE><BR><p>
                <hr size=1>Yahoo! Mail<br>
Bring photos to life! <a href="http://pa.yahoo.com/*http://us.rd.yahoo.com/evt=39174/*http://photomail.mail.yahoo.com">New PhotoMail </a> makes sharing a breeze.