label size fix

This commit is contained in:
MihailRis 2024-05-28 04:02:35 +03:00
parent bc84200798
commit 2d27e5662a

View File

@ -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());
}
}