fix(modulo): fix wrong wizard image size on macOS

This commit is contained in:
Federico Terzi 2021-06-13 17:31:47 +02:00
parent e544e59580
commit 5a4f0dee31
2 changed files with 3 additions and 1 deletions

View File

@ -221,7 +221,7 @@
<property name="maximum_size"></property>
<property name="min_size"></property>
<property name="minimize_button">0</property>
<property name="minimum_size"></property>
<property name="minimum_size">256,256</property>
<property name="moveable">1</property>
<property name="name">welcome_image</property>
<property name="pane_border">1</property>

View File

@ -30,6 +30,8 @@ WizardFrame::WizardFrame( wxWindow* parent, wxWindowID id, const wxString& title
bSizer2 = new wxBoxSizer( wxVERTICAL );
welcome_image = new wxStaticBitmap( welcome_panel, wxID_ANY, wxNullBitmap, wxDefaultPosition, wxSize( 256,256 ), 0 );
welcome_image->SetMinSize( wxSize( 256,256 ) );
bSizer2->Add( welcome_image, 0, wxALIGN_CENTER|wxALL, 0 );
welcome_title_text = new wxStaticText( welcome_panel, wxID_ANY, wxT("Welcome to Espanso!"), wxDefaultPosition, wxDefaultSize, 0 );