Hardcode minimal widget sample notebook size
Not doing this resulted in the window being tiny by default, so it's better than nothing, even if it's clearly still not ideal. See #24154.
This commit is contained in:
parent
7c592ba361
commit
27585bf2c3
1 changed files with 2 additions and 1 deletions
|
|
@ -506,8 +506,9 @@ WidgetsFrame::WidgetsFrame(const wxString& title)
|
|||
// Uncomment to suppress page theme (draw in solid colour)
|
||||
//style |= wxNB_NOPAGETHEME;
|
||||
|
||||
// Give it some reasonably big minimal size by default.
|
||||
m_book = new WidgetsBookCtrl(m_panel, Widgets_BookCtrl,
|
||||
wxDefaultPosition, wxDefaultSize,
|
||||
wxDefaultPosition, FromDIP(wxSize(900, 500)),
|
||||
style, "Widgets");
|
||||
|
||||
InitBook();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue