mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-23 14:44:19 -06:00
Fix of "cut off text for filament type" (Related to #5444)
This commit is contained in:
parent
aa69730bc2
commit
b22a38d1d1
1 changed files with 6 additions and 0 deletions
|
@ -917,6 +917,12 @@ void Choice::BUILD() {
|
||||||
#endif //__WXOSX__
|
#endif //__WXOSX__
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef __WXGTK3__
|
||||||
|
wxSize best_sz = temp->GetBestSize();
|
||||||
|
if (best_sz.x > size.x)
|
||||||
|
temp->SetSize(best_sz);
|
||||||
|
#endif //__WXGTK3__
|
||||||
|
|
||||||
temp->SetFont(Slic3r::GUI::wxGetApp().normal_font());
|
temp->SetFont(Slic3r::GUI::wxGetApp().normal_font());
|
||||||
if (!wxOSX) temp->SetBackgroundStyle(wxBG_STYLE_PAINT);
|
if (!wxOSX) temp->SetBackgroundStyle(wxBG_STYLE_PAINT);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue