Re: wxPython TextCtrl - weird scrolling behavior



abcd wrote:
But one question that comes to mind is, do you not add sizerTextPanel to
sizerMainPanel? I think all sub-sizers should be added to the main
sizer, unless there's some weird reason I don't know of.

well i set the sizer on the textPanel and then I add the textPanel to
sizerMainPanel


Ah, I see. Seems like it may be a sizer issue, since you are adding a bunch of things together. I noticed that one object you refer to is self.textPane, is that supposed to be self.textPanel?
.



Relevant Pages

  • Re: wxPython TextCtrl - weird scrolling behavior
    ... sizerMainPanel? ... sizer, unless there's some weird reason I don't know of. ... well i set the sizer on the textPanel and then I add the textPanel to ...
    (comp.lang.python)
  • Re: wxPython TextCtrl - weird scrolling behavior
    ... But one question that comes to mind is, do you not add sizerTextPanel to sizerMainPanel? ... I think all sub-sizers should be added to the main sizer, unless there's some weird reason I don't know of. ...
    (comp.lang.python)
  • Re: Problem with "limited with" in a *real* application
    ... Sizer: in wx.Core.Sizer.Sizer_Type; ... package body wx.Core.Window is ... I've had to cast the sizer type to the base sizer in the Set_Sizer ... But for some reason, the app won't link because Set_Sizer is undefined: ...
    (comp.lang.ada)