mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-25 15:44:12 -06:00
Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer
This commit is contained in:
commit
52a3161018
1 changed files with 4 additions and 0 deletions
|
@ -76,6 +76,7 @@ static choice_ctrl* create_word_local_combo(wxWindow *parent)
|
||||||
|
|
||||||
void msw_rescale_word_local_combo(choice_ctrl* combo)
|
void msw_rescale_word_local_combo(choice_ctrl* combo)
|
||||||
{
|
{
|
||||||
|
#ifdef __WXOSX__
|
||||||
const wxString selection = combo->GetString(combo->GetSelection());
|
const wxString selection = combo->GetString(combo->GetSelection());
|
||||||
|
|
||||||
/* To correct scaling (set new controll size) of a wxBitmapCombobox
|
/* To correct scaling (set new controll size) of a wxBitmapCombobox
|
||||||
|
@ -97,6 +98,9 @@ void msw_rescale_word_local_combo(choice_ctrl* combo)
|
||||||
combo->Append(_L("Local coordinates"));
|
combo->Append(_L("Local coordinates"));
|
||||||
|
|
||||||
combo->SetValue(selection);
|
combo->SetValue(selection);
|
||||||
|
#else
|
||||||
|
combo->SetMinSize(wxSize(15 * wxGetApp().em_unit(), -1));
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
static void set_font_and_background_style(wxWindow* win, const wxFont& font)
|
static void set_font_and_background_style(wxWindow* win, const wxFont& font)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue