Fixed character counter changing fonts after going over the limit (#3422)

Co-authored-by: Felanbird <41973452+Felanbird@users.noreply.github.com>
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
This commit is contained in:
Mm2PL
2021-12-25 23:43:03 +00:00
committed by GitHub
parent efcef61896
commit 94f7f09e73
2 changed files with 3 additions and 0 deletions
+2
View File
@@ -136,6 +136,8 @@ void SplitInput::scaleChangedEvent(float scale)
this->setMaximumHeight(int(150 * this->scale()));
this->ui_.textEdit->setFont(
getApp()->fonts->getFont(FontStyle::ChatMedium, this->scale()));
this->ui_.textEditLength->setFont(
getApp()->fonts->getFont(FontStyle::ChatMedium, this->scale()));
}
void SplitInput::themeChangedEvent()