fix(send-wait): use same style as message length (#6791)

This commit is contained in:
Nerixyz
2026-02-02 18:39:11 +01:00
committed by GitHub
parent f61cd1068c
commit 4a23d21865
2 changed files with 6 additions and 3 deletions
+5 -2
View File
@@ -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()));
}