[wxPython-users] treelistctrl and scrollbars

Jürgen Kareta python at kareta.de
Wed Aug 9 08:51:36 PDT 2006


Jürgen Kareta schrieb:

> Hello,
>
> I use a gizmos.TreeListCtrl in my app. If the control is initialized 
> without wx.TR_HIDE_ROOT the scrollbars appear
> if  the  expanded tree needs more space than  available. But if it is 
> initialized with wx.TR_HIDE_ROOT the scrollbars doesn't appear.
>
> How can I have scrollbars and hidden root ?
>
> Thanks in advance
> Jürgen
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: wxPython-users-unsubscribe at lists.wxwidgets.org
> For additional commands, e-mail: wxPython-users-help at lists.wxwidgets.org
>
>
>
Hi,

found the solution. There is no dependencie between wx.TR_HIDE_ROOT and 
scrollbars. It was just some older code build with wxglade which had 
several wx.SetSizeHints commands. After deleting them it works fine.

regards,
Jürgen






More information about the wxpython-users mailing list