mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-17 01:15:55 +08:00
Follow up 38b75d1a > Linux specific: Fixed first Layout of Preferences dialog
This commit is contained in:
parent
ee6f7faa80
commit
2352c156c0
@ -87,6 +87,11 @@ PreferencesDialog::PreferencesDialog(wxWindow* parent) :
|
|||||||
|
|
||||||
if (is_scrollbar_shown)
|
if (is_scrollbar_shown)
|
||||||
sz.x += 2*em_unit();
|
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);
|
SetSize(sz);
|
||||||
|
|
||||||
m_highlighter.set_timer_owner(this, 0);
|
m_highlighter.set_timer_owner(this, 0);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user