Follow up 38b75d1a > Linux specific: Fixed first Layout of Preferences dialog

This commit is contained in:
YuSanka 2023-11-02 16:20:41 +01:00
parent ee6f7faa80
commit 2352c156c0

View File

@ -87,6 +87,11 @@ PreferencesDialog::PreferencesDialog(wxWindow* parent) :
if (is_scrollbar_shown)
sz.x += 2*em_unit();
#ifdef __WXGTK__
// To correct Layout of wxScrolledWindow we need at least small change of size
else
sz.x += 1;
#endif
SetSize(sz);
m_highlighter.set_timer_owner(this, 0);