label size fix
This commit is contained in:
parent
bc84200798
commit
2d27e5662a
@ -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());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user