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:
@@ -72,6 +72,7 @@
|
|||||||
- Bugfix: Fixed a crash that could occur on certain Linux systems when toggling the Always on Top flag. (#3385)
|
- Bugfix: Fixed a crash that could occur on certain Linux systems when toggling the Always on Top flag. (#3385)
|
||||||
- Bugfix: Fixed zero-width emotes sometimes wrapping lines incorrectly. (#3389)
|
- Bugfix: Fixed zero-width emotes sometimes wrapping lines incorrectly. (#3389)
|
||||||
- Bugfix: Fixed using special chars in Windows username breaking the storage of custom commands (#3397)
|
- Bugfix: Fixed using special chars in Windows username breaking the storage of custom commands (#3397)
|
||||||
|
- Bugfix: Fixed character counter changing fonts after going over the limit. (#3422)
|
||||||
- Dev: Add GitHub action to test builds without precompiled headers enabled. (#3327)
|
- Dev: Add GitHub action to test builds without precompiled headers enabled. (#3327)
|
||||||
- Dev: Renamed CMake's build option `USE_SYSTEM_QT5KEYCHAIN` to `USE_SYSTEM_QTKEYCHAIN`. (#3103)
|
- Dev: Renamed CMake's build option `USE_SYSTEM_QT5KEYCHAIN` to `USE_SYSTEM_QTKEYCHAIN`. (#3103)
|
||||||
- Dev: Add benchmarks that can be compiled with the `BUILD_BENCHMARKS` CMake flag. Off by default. (#3038)
|
- Dev: Add benchmarks that can be compiled with the `BUILD_BENCHMARKS` CMake flag. Off by default. (#3038)
|
||||||
|
|||||||
@@ -136,6 +136,8 @@ void SplitInput::scaleChangedEvent(float scale)
|
|||||||
this->setMaximumHeight(int(150 * this->scale()));
|
this->setMaximumHeight(int(150 * this->scale()));
|
||||||
this->ui_.textEdit->setFont(
|
this->ui_.textEdit->setFont(
|
||||||
getApp()->fonts->getFont(FontStyle::ChatMedium, this->scale()));
|
getApp()->fonts->getFont(FontStyle::ChatMedium, this->scale()));
|
||||||
|
this->ui_.textEditLength->setFont(
|
||||||
|
getApp()->fonts->getFont(FontStyle::ChatMedium, this->scale()));
|
||||||
}
|
}
|
||||||
|
|
||||||
void SplitInput::themeChangedEvent()
|
void SplitInput::themeChangedEvent()
|
||||||
|
|||||||
Reference in New Issue
Block a user