always fill out complete window

Discussion in 'Python' started by Tom, Jun 26, 2003.

  1. Tom

    Tom Guest

    Hi folks,

    I have a splitter window in a GUI that I built. I added a TextCtrl
    window to the right side of my splitter window. Because I don't want to
    add anything else to this side of the window it would be great if the
    TextCtrl window could fill out the complete side. I couldn't find the
    appropriate command or configuration to resize the TextCtrl window
    automatically no matter what I do with my mainframe window.

    Thank you for your help.
    Tom
     
    Tom, Jun 26, 2003
    #1
    1. Advertising

  2. Tom

    Tom Guest

    Hi Steve,

    I used Boa Constructor.
    The code looks like the follwoing:
    self.textCtrl1 = wxTextCtrl(id=wxID_WXFRAME1TEXTCTRL1, name='textCtrl1',
    parent=self.panel2, pos=wxPoint(136, 64), size=wxSize(264,
    176),
    style=wxTE_MULTILINE, value=u'')

    Thanks for your help.
    Tom


    Steve Holden wrote:

    >"Tom" <> wrote in message news:...
    >
    >
    >>Hi folks,
    >>
    >>I have a splitter window in a GUI that I built. I added a TextCtrl
    >>window to the right side of my splitter window. Because I don't want to
    >>add anything else to this side of the window it would be great if the
    >>TextCtrl window could fill out the complete side. I couldn't find the
    >>appropriate command or configuration to resize the TextCtrl window
    >>automatically no matter what I do with my mainframe window.
    >>

    >
    >It would help if you told us which GUI you were using (Tkinter, wxPython,
    >PyQT, etc.) and perhaps posted a little sample code to gice us the idea.
    >
    >regards
    >--
    >Steve Holden http://www.holdenweb.com/
    >Python Web Programming http://pydish.holdenweb.com/pwp/
    >
    >
     
    Tom, Jun 27, 2003
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. M
    Replies:
    7
    Views:
    17,156
    winladen
    Feb 7, 2009
  2. Deryck
    Replies:
    4
    Views:
    535
    derek giroulle
    Jun 22, 2004
  3. delphiro
    Replies:
    0
    Views:
    607
    delphiro
    Jun 27, 2003
  4. John Dalberg
    Replies:
    1
    Views:
    373
    Greg9Strat
    Mar 9, 2007
  5. Song Zhang
    Replies:
    1
    Views:
    238
    Doug Turner
    Sep 29, 2003
Loading...

Share This Page