diff --git a/src/widgets/dialogs/SettingsDialog.cpp b/src/widgets/dialogs/SettingsDialog.cpp index 0bb782e3..a4dbec69 100644 --- a/src/widgets/dialogs/SettingsDialog.cpp +++ b/src/widgets/dialogs/SettingsDialog.cpp @@ -34,6 +34,7 @@ SettingsDialog::SettingsDialog() this->scaleChangedEvent(this->getScale()); this->overrideBackgroundColor_ = QColor("#282828"); + this->themeChangedEvent(); } void SettingsDialog::initUi() @@ -185,7 +186,7 @@ void SettingsDialog::themeChangedEvent() BaseWindow::themeChangedEvent(); QPalette palette; - palette.setColor(QPalette::Background, QColor("#444")); + palette.setColor(QPalette::Background, QColor("#222")); this->setPalette(palette); } diff --git a/src/widgets/helper/NotebookTab.cpp b/src/widgets/helper/NotebookTab.cpp index 15388e34..bb01fc46 100644 --- a/src/widgets/helper/NotebookTab.cpp +++ b/src/widgets/helper/NotebookTab.cpp @@ -311,6 +311,8 @@ void NotebookTab::paintEvent(QPaintEvent *) if (this->shouldDrawXButton()) { QRect xRect = this->getXRect(); if (!xRect.isNull()) { + if (this->selected_) xRect.moveTop(xRect.top() - 1); + painter.setBrush(QColor("#fff")); if (this->mouseOverX_) { @@ -472,7 +474,7 @@ QRect NotebookTab::getXRect() float s = this->getScale(); return QRect(this->width() - static_cast(20 * s), - static_cast(6 * s), static_cast(16 * s), + static_cast(9 * s), static_cast(16 * s), static_cast(16 * s)); } diff --git a/src/widgets/settingspages/ModerationPage.cpp b/src/widgets/settingspages/ModerationPage.cpp index e7210f5a..d50e59bc 100644 --- a/src/widgets/settingspages/ModerationPage.cpp +++ b/src/widgets/settingspages/ModerationPage.cpp @@ -149,7 +149,7 @@ ModerationPage::ModerationPage() auto modMode = tabs.appendTab(new QVBoxLayout, "Moderation buttons"); { // clang-format off - auto label = modMode.emplace("Click the moderation mod button () in a channel that you moderate to enable moderator mode.
"); + auto label = modMode.emplace("Click the moderation mod button () in a channel that you moderate to enable moderator mode.
"); label->setWordWrap(true); label->setStyleSheet("color: #bbb"); // clang-format on diff --git a/src/widgets/settingspages/SettingsPage.cpp b/src/widgets/settingspages/SettingsPage.cpp index e7409598..a70904bc 100644 --- a/src/widgets/settingspages/SettingsPage.cpp +++ b/src/widgets/settingspages/SettingsPage.cpp @@ -1,6 +1,7 @@ #include "SettingsPage.hpp" #include +#include namespace chatterino {