mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
Use the same margin for the input for dark & light mode
This commit is contained in:
parent
718696db53
commit
0d836c9604
|
@ -239,7 +239,7 @@ void SplitInput::themeChangedEvent()
|
|||
#if (QT_VERSION >= QT_VERSION_CHECK(5, 12, 0))
|
||||
this->ui_.textEdit->setPalette(placeholderPalette);
|
||||
#endif
|
||||
auto marginPx = (this->theme->isLightTheme() ? 4 : 2) * this->scale();
|
||||
auto marginPx = static_cast<int>(2.F * this->scale());
|
||||
this->ui_.vbox->setContentsMargins(marginPx, marginPx, marginPx, marginPx);
|
||||
|
||||
this->ui_.emoteButton->getLabel().setStyleSheet("color: #000");
|
||||
|
|
Loading…
Reference in a new issue