mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-05-25 15:47:25 +08:00
Fix of "cut off text for filament type" (Related to #5444)
This commit is contained in:
parent
aa69730bc2
commit
b22a38d1d1
@ -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…
x
Reference in New Issue
Block a user