From cba4c41006f0e213f0f5305e0e05fb6e61e5f611 Mon Sep 17 00:00:00 2001 From: Federico Terzi Date: Tue, 12 Oct 2021 21:26:50 +0200 Subject: [PATCH] fix(modulo): fix cut button in welcome screen when using 125% text scaling on windows. Fix #777 --- espanso-modulo/src/sys/welcome/welcome.fbp | 2 +- espanso-modulo/src/sys/welcome/welcome_gui.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/espanso-modulo/src/sys/welcome/welcome.fbp b/espanso-modulo/src/sys/welcome/welcome.fbp index d9e8373..085445d 100644 --- a/espanso-modulo/src/sys/welcome/welcome.fbp +++ b/espanso-modulo/src/sys/welcome/welcome.fbp @@ -45,7 +45,7 @@ WelcomeFrame - 521,544 + 521,597 wxCAPTION|wxCLOSE_BOX|wxSYSTEM_MENU ; ; forward_declare Espanso is running! diff --git a/espanso-modulo/src/sys/welcome/welcome_gui.h b/espanso-modulo/src/sys/welcome/welcome_gui.h index 44e21fe..003e7f6 100644 --- a/espanso-modulo/src/sys/welcome/welcome_gui.h +++ b/espanso-modulo/src/sys/welcome/welcome_gui.h @@ -54,7 +54,7 @@ class WelcomeFrame : public wxFrame 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();