diff --git a/src/graphics/ui/elements/Label.cpp b/src/graphics/ui/elements/Label.cpp index f8e9fa07..9e355e86 100644 --- a/src/graphics/ui/elements/Label.cpp +++ b/src/graphics/ui/elements/Label.cpp @@ -83,7 +83,7 @@ void Label::setText(std::wstring text) { this->text = text; cache.update(this->text, multiline, textWrap); - if (cache.font) { + if (cache.font && autoresize) { setSize(calcSize()); } }