Merge branch 'main' into blocks_meta
This commit is contained in:
@@ -83,7 +83,7 @@ void Label::setText(std::wstring text) {
|
|||||||
this->text = text;
|
this->text = text;
|
||||||
cache.update(this->text, multiline, textWrap);
|
cache.update(this->text, multiline, textWrap);
|
||||||
|
|
||||||
if (cache.font) {
|
if (cache.font && autoresize) {
|
||||||
setSize(calcSize());
|
setSize(calcSize());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user