From 988d18c10b65bb547bcd9f62224e165db6cf49b6 Mon Sep 17 00:00:00 2001 From: Clayton Groeneveld Date: Tue, 14 May 2019 02:50:52 -0500 Subject: [PATCH] UI: Fix theme issues with hotkey icons --- UI/data/themes/Rachni.qss | 4 ++++ UI/hotkey-edit.cpp | 1 + 2 files changed, 5 insertions(+) diff --git a/UI/data/themes/Rachni.qss b/UI/data/themes/Rachni.qss index 28cdbb0c3..6a519b058 100644 --- a/UI/data/themes/Rachni.qss +++ b/UI/data/themes/Rachni.qss @@ -969,6 +969,8 @@ QPushButton:checked#exitButton { QPushButton[themeID="addIconSmall"], QPushButton[themeID="removeIconSmall"], QPushButton[themeID="configIconSmall"], +QPushButton[themeID="trashIcon"], +QPushButton[themeID="revertIcon"], QPushButton#transitionRemove, QPushButton#moveAsyncFilterUp, QPushButton#moveAsyncFilterDown, @@ -982,6 +984,8 @@ QPushButton#moveEffectFilterUp { QPushButton:hover[themeID="addIconSmall"], QPushButton:hover[themeID="removeIconSmall"], QPushButton:hover[themeID="configIconSmall"], +QPushButton:hover[themeID="trashIcon"], +QPushButton:hover[themeID="revertIcon"], QPushButton:hover#transitionRemove, QPushButton:hover#moveAsyncFilterUp, QPushButton:hover#moveAsyncFilterDown, diff --git a/UI/hotkey-edit.cpp b/UI/hotkey-edit.cpp index 9bb3ca6bd..30af64a05 100644 --- a/UI/hotkey-edit.cpp +++ b/UI/hotkey-edit.cpp @@ -324,6 +324,7 @@ void OBSHotkeyWidget::AddEdit(obs_key_combination combo, int idx) }); QHBoxLayout *subLayout = new QHBoxLayout; + subLayout->setContentsMargins(0, 4, 0, 0); subLayout->addWidget(edit); subLayout->addWidget(revert); subLayout->addWidget(clear);