Skip to content

Commit

Permalink
Use the same input padding between light & dark themes (Chatterino#5095)
Browse files Browse the repository at this point in the history
  • Loading branch information
pajlada authored and devJimmyboy committed Feb 11, 2024
1 parent ed2b8d0 commit ade9869
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
- Minor: Added missing periods at various moderator messages and commands. (#5061)
- Minor: Improved color selection and display. (#5057)
- Minor: Improved Streamlink documentation in the settings dialog. (#5076)
- Minor: Normalized the input padding between light & dark themes. (#5095)
- Bugfix: Fixed an issue where certain emojis did not send to Twitch chat correctly. (#4840)
- Bugfix: Fixed capitalized channel names in log inclusion list not being logged. (#4848)
- Bugfix: Trimmed custom streamlink paths on all platforms making sure you don't accidentally add spaces at the beginning or end of its path. (#4834)
Expand Down
2 changes: 1 addition & 1 deletion src/widgets/splits/SplitInput.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,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");
Expand Down

0 comments on commit ade9869

Please sign in to comment.