mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-07-03 17:05:43 +02:00
Fix of "cut off text for filament type" (Related to #5444)
This commit is contained in:
@@ -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);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user