GTK3 specific: Follow-up b19ae0df5b
- Fix for build
This commit is contained in:
parent
abc2bff3d8
commit
c774603179
@ -868,9 +868,9 @@ Sidebar::Sidebar(Plater *parent)
|
|||||||
scrolled_sizer->Add(p->mode_sizer, 0, wxALIGN_CENTER_HORIZONTAL);
|
scrolled_sizer->Add(p->mode_sizer, 0, wxALIGN_CENTER_HORIZONTAL);
|
||||||
|
|
||||||
#ifdef __WXGTK3__
|
#ifdef __WXGTK3__
|
||||||
wxDirection size_margin = wxLEFT | wxRIGHT;
|
int size_margin = wxLEFT | wxRIGHT;
|
||||||
#else
|
#else
|
||||||
wxDirection size_margin = wxLEFT;
|
int size_margin = wxLEFT;
|
||||||
#endif // __WXGTK3__
|
#endif // __WXGTK3__
|
||||||
|
|
||||||
is_msw ?
|
is_msw ?
|
||||||
@ -998,7 +998,7 @@ void Sidebar::init_filament_combo(PlaterPresetComboBox **combo, const int extr_i
|
|||||||
auto /***/sizer_filaments = this->p->sizer_filaments;
|
auto /***/sizer_filaments = this->p->sizer_filaments;
|
||||||
sizer_filaments->Add(combo_and_btn_sizer, 1, wxEXPAND |
|
sizer_filaments->Add(combo_and_btn_sizer, 1, wxEXPAND |
|
||||||
#ifdef __WXGTK3__
|
#ifdef __WXGTK3__
|
||||||
wxRIGHT, margin_5);
|
wxRIGHT, int(0.5 * wxGetApp().em_unit()));
|
||||||
#else
|
#else
|
||||||
wxBOTTOM, 1);
|
wxBOTTOM, 1);
|
||||||
#endif // __WXGTK3__
|
#endif // __WXGTK3__
|
||||||
|
Loading…
Reference in New Issue
Block a user