-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[macOS?] Sizers are not setting the size of windows correctly #24530
Comments
I can indeed see this, although I had to delete It looks like there is a missing size event, and so layout, on startup, but calling |
The main reason for this issue seems to be that adding a page to the tree book does not trigger a request to resize the tree control (only the best size is invalidated). As the tree book has a defined size and the panel's sizer is happy with the tree book's size, the tree book also does not send a resize event (only a move event). I have no other idea how to solve this issue besides calling m_book->Layout() after InitBook(). |
Description
When running the widgets sample the following window opens:
The upper panel that should show the treebook is clearly not sized correctly. After changing the frame's size the panel is sized correctly.
I think that this is a regression related to some older patches as I have not seen this in (much) older version of wxWidgets.
Platform and version information
The text was updated successfully, but these errors were encountered: