wx.Listbook

63 views
Skip to first unread message

H._...@web.de

unread,
Aug 25, 2011, 7:32:16 AM8/25/11
to wx-users
Hello,

i have a running programm with a wx.Listbook in it.
i have 1 problem is it possible to change the position of the listbook
sash between the 2 "frames",
because i cant read the full label of the panels

im using python 2.7 with wxpython 2.9.2
sorry for my bad english i hope you understand all

greetings
alexander hefner

Vadim Zeitlin

unread,
Aug 25, 2011, 8:52:05 AM8/25/11
to wx-u...@googlegroups.com
On Thu, 25 Aug 2011 04:32:16 -0700 (PDT) "H._...@web.de" <H._...@web.de> wrote:

H> i have a running programm with a wx.Listbook in it.
H> i have 1 problem is it possible to change the position of the listbook
H> sash between the 2 "frames",

No, wxListbook uses fixed width layout. If you want to be able to change
the sash position you need to use wxSplitterWindow with wxListCtrl and your
page as children.

H> because i cant read the full label of the panels

This looks like a bug because wxListbook is supposed to resize itself to
make sure they're always visible. Do you do something (relatively) unusual
such as changing the items labels after creating the control?

Regards,
VZ

--
TT-Solutions: wxWidgets consultancy and technical support
http://www.tt-solutions.com/

H._...@web.de

unread,
Aug 25, 2011, 9:15:35 AM8/25/11
to wx-u...@googlegroups.com
On wxFormbuilder it resize itself, but when i copy the code to pydev and test it, it is small again ...
 and no i dont do something unusual.

can it be a bug of pydev/eclipse?

gafatoa

unread,
Aug 26, 2011, 3:56:41 AM8/26/11
to wx-users
I've had the same kind issue (using C++) with wxPropertySheetDialog.
The simplest solution I've found was to use the wxPROPSHEET_TREEBOOK
style.
Maybe could you try a wxTreebook instead of a wxListbook.

H._...@web.de

unread,
Aug 26, 2011, 7:57:55 AM8/26/11
to wx-u...@googlegroups.com
Thank you for the tips
I think i make it with a textctrl and a splitter window.


Reply all
Reply to author
Forward
0 new messages