I don't know what exactly you need. But I'm sure that a textCtrl is not wise enough
to get *bigger* but not *too big* itself. You need to adjust its width yourself. I suggest
you change your code like this:mainsizer.Add( self.wordCorrected, 1,
flag = wx.ALIGN_CENTER_HORIZONTAL|wx.RIGHT,
border=4)change the border to make the textCtrl bigger or smaller.
I'm afraid that doesn't seem to do anything.
Here's the best solution I've found:
field1sizer = wx.BoxSizer(wx.HORIZONTAL)
field1sizer.Add((40,20),0)
field1sizer.Add(self.wordAsKnown, 3, wx.EXPAND)
field1sizer.Add((40,20,),0)
mainsizer.Add(field1sizer, 0, wx.EXPAND, 3)
It feels like a kludge. This is the problem I keep finding with Sizers: though I'm sure you can do just about anything with them, the code (that I can find!) to do it puts together lots of trivial commands to add up to a single "action."
Charles Hartman
Professor of English, Poet in Residence
http://cherry.conncoll.edu/cohar
http://villex.blogspot.com