wxNotebook and wxScrolledWindow

Baptiste baptiste.goupil at gmail.com
Sat Dec 30 14:20:54 PST 2006


Hello,

I would like to display scrollbars in one of the tabs of my wxNotebook. The
content of this tab is just a vertical BoxSizer which contains several
items.
This is what I tried (python) :

        pan3 =3D wx.ScrolledWindow ( self )
        box3 =3D wx.BoxSizer ( wx.VERTICAL )

        cur =3D ["my","list","..."]

        for i in cur:
            tag_list =3D wx.TextCtrl ( pan3, -1, i[0] ) )
            box3.Add ( tag_list )

        pan3.SetSizer ( box3 )
        box3.Fit ( pan3 )
        box3.Layout ( )

It is okay... except for the scrollbars ! They are not displayed and several
items can't be seen. I don't have any error, I don't have a clue to
understand what is wrong.
Do you know what can be the cause of this issue ? I have not found anything
on Google :-(

Thanks and happy new year everyone !

Regards,
Baptiste.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wxwidgets.org/pipermail/wx-users/attachments/20061230/b96=
83872/attachment.htm


More information about the wx-users mailing list