Try to fix issues on Ubuntu/Unity for dialogs which are not displayed: adding GetSizer()->Fit( this ) in some other dialogs
This commit is contained in:
@@ -197,7 +197,10 @@ void DIALOG_PRINT_USING_PRINTER::OnInitDialog( wxInitDialogEvent& event )
|
||||
pageSetupDialogData.GetPrintData().SetOrientation( pageInfo.GetWxOrientation() );
|
||||
|
||||
if ( GetSizer() )
|
||||
{
|
||||
GetSizer()->SetSizeHints( this );
|
||||
GetSizer()->Fit( this );
|
||||
}
|
||||
|
||||
// Rely on the policy in class DIALOG_SHIM, which centers the dialog
|
||||
// initially during a runtime session but gives user the ability to move it in
|
||||
|
||||
Reference in New Issue
Block a user