fix(send-wait): use same style as message length (#6791)
This commit is contained in:
+1
-1
@@ -2,7 +2,7 @@
|
||||
|
||||
## Unversioned
|
||||
|
||||
- Minor: Added a countdown timer to the input box to show when you can chat again during slow mode or after a timeout. This feature is disabled by default, and can be enabled with the "Show countdown on slow mode or when timed out" setting. (#6782)
|
||||
- Minor: Added a countdown timer to the input box to show when you can chat again during slow mode or after a timeout. This feature is disabled by default, and can be enabled with the "Show countdown on slow mode or when timed out" setting. (#6782, #6791)
|
||||
- Minor: Add search engine selection for context menu search action. (#6743, #6770)
|
||||
- Minor: Add a separate highlight option for watchstreak notifications. (#6571, #6581)
|
||||
- Minor: Badges now link to their home page like emotes in the context menu. (#6437)
|
||||
|
||||
@@ -319,6 +319,7 @@ void SplitInput::themeChangedEvent()
|
||||
palette.setColor(QPalette::WindowText, this->theme->splits.input.text);
|
||||
|
||||
this->ui_.textEditLength->setPalette(palette);
|
||||
this->ui_.sendWaitStatus->setPalette(palette);
|
||||
|
||||
// Theme changed, reset current background color
|
||||
this->setBackgroundColor(this->theme->splits.input.background);
|
||||
@@ -1437,8 +1438,10 @@ void SplitInput::updateFonts()
|
||||
|
||||
// NOTE: We're using TimestampMedium here to get a font that uses the tnum font feature,
|
||||
// meaning numbers get equal width & don't bounce around while the user is typing.
|
||||
this->ui_.textEditLength->setFont(
|
||||
app->getFonts()->getFont(FontStyle::TimestampMedium, this->scale()));
|
||||
auto tsMedium =
|
||||
app->getFonts()->getFont(FontStyle::TimestampMedium, this->scale());
|
||||
this->ui_.textEditLength->setFont(tsMedium);
|
||||
this->ui_.sendWaitStatus->setFont(tsMedium);
|
||||
this->ui_.replyLabel->setFont(
|
||||
app->getFonts()->getFont(FontStyle::ChatMediumBold, this->scale()));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user