Page 1 of 1

wxCollapsiblePane with wxCP_NO_TLW_RESIZE cuts part of label

Posted: Fri Sep 27, 2019 8:48 am
by S.K.
Hello everyone,

in the collpane sampel, when adjusting this line

Code: Select all

m_collPane = new wxCollapsiblePane(this, -1, "This is a wxCollapsiblePane")
to

Code: Select all

m_collPane = new wxCollapsiblePane(this, -1, "This is a wxCollapsiblePane", wxDefaultPosition, wxDefaultSize, wxCP_NO_TLW_RESIZE);
the label isn't shown completely:
collPane.jpg
collPane.jpg (31.25 KiB) Viewed 6801 times
Has someone an idea how to get the label completely shown with the option wxCP_NO_TLW_RESIZE?
I tested it with win7, vc15 (vs2017), 32-bit, master branch and tag v3.1.2

Edit: you have to uncollapse it first, before the issue is visible. In the first created window the label is displayed correctly.