fix(modulo): fix cut button in welcome screen when using 125% text scaling on windows. Fix #777

This commit is contained in:
Federico Terzi 2021-10-12 21:26:50 +02:00
parent 45b20fd067
commit cba4c41006
2 changed files with 2 additions and 2 deletions

View File

@ -45,7 +45,7 @@
<property name="minimum_size"></property> <property name="minimum_size"></property>
<property name="name">WelcomeFrame</property> <property name="name">WelcomeFrame</property>
<property name="pos"></property> <property name="pos"></property>
<property name="size">521,544</property> <property name="size">521,597</property>
<property name="style">wxCAPTION|wxCLOSE_BOX|wxSYSTEM_MENU</property> <property name="style">wxCAPTION|wxCLOSE_BOX|wxSYSTEM_MENU</property>
<property name="subclass">; ; forward_declare</property> <property name="subclass">; ; forward_declare</property>
<property name="title">Espanso is running!</property> <property name="title">Espanso is running!</property>

View File

@ -54,7 +54,7 @@ class WelcomeFrame : public wxFrame
public: public:
WelcomeFrame( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Espanso is running!"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 521,544 ), long style = wxCAPTION|wxCLOSE_BOX|wxSYSTEM_MENU|wxTAB_TRAVERSAL ); WelcomeFrame( wxWindow* parent, wxWindowID id = wxID_ANY, const wxString& title = wxT("Espanso is running!"), const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxSize( 521,597 ), long style = wxCAPTION|wxCLOSE_BOX|wxSYSTEM_MENU|wxTAB_TRAVERSAL );
~WelcomeFrame(); ~WelcomeFrame();