mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-05-16 14:22:43 -07:00
Fixed rounding of numbers for the controls width (Try to fix controls flashing on HDPI/linux)
This commit is contained in:
@@ -593,7 +593,7 @@ Field* ConfigOptionsGroup::get_fieldc(const t_config_option_key& opt_key, int op
|
||||
void ogStaticText::SetText(const wxString& value, bool wrap/* = true*/)
|
||||
{
|
||||
SetLabel(value);
|
||||
if (wrap) Wrap(400);
|
||||
if (wrap) Wrap(35 * wxGetApp().em_unit()/*400*/);
|
||||
GetParent()->Layout();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user