Further placeholder text fixes (#2264)

This commit is contained in:
Paweł
2020-12-13 12:16:08 +01:00
committed by GitHub
parent 155b40985b
commit ddcc8545d4
4 changed files with 15 additions and 21 deletions
+6 -2
View File
@@ -127,13 +127,17 @@ void SplitInput::scaleChangedEvent(float scale)
void SplitInput::themeChangedEvent()
{
QPalette palette;
QPalette palette, placeholderPalette;
palette.setColor(QPalette::Foreground, this->theme->splits.input.text);
palette.setColor(QPalette::WindowText, this->theme->splits.input.text);
placeholderPalette.setColor(
QPalette::PlaceholderText,
this->theme->messages.textColors.chatPlaceholder);
this->updateEmoteButton();
this->ui_.textEditLength->setPalette(palette);
this->ui_.textEdit->setPalette(placeholderPalette);
this->ui_.textEdit->setStyleSheet(this->theme->splits.input.styleSheet);
this->ui_.hbox->setMargin(