Pin preferences dialog size.
While unfortunate (we generally frown on having fixed sizes in favour of having everything auto-layout), in this case it's a cost of lazy-loading the panels. Fixes https://gitlab.com/kicad/code/kicad/-/issues/14785 (cherry picked from commitcbf83c4161
) (cherry picked from commit799302cd6d
)
This commit is contained in:
parent
8b114c81c5
commit
d894faaeaa
|
@ -1169,6 +1169,10 @@ void EDA_BASE_FRAME::ShowPreferences( wxString aStartPage, wxString aStartParent
|
||||||
if( !aStartPage.IsEmpty() )
|
if( !aStartPage.IsEmpty() )
|
||||||
dlg.SetInitialPage( aStartPage, aStartParentPage );
|
dlg.SetInitialPage( aStartPage, aStartParentPage );
|
||||||
|
|
||||||
|
// This is unfortunate, but it's the cost of lazy-loading the panels
|
||||||
|
book->SetMinSize( wxSize( 980, 560 ) );
|
||||||
|
book->SetInitialSize( wxSize( 980, 560 ) );
|
||||||
|
|
||||||
dlg.SetEvtHandlerEnabled( true );
|
dlg.SetEvtHandlerEnabled( true );
|
||||||
wxEndBusyCursor();
|
wxEndBusyCursor();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue