From e41ff7b745648577aad222e4a692d94cbf1c3f41 Mon Sep 17 00:00:00 2001 From: nirvn Date: Mon, 11 Feb 2019 11:34:01 +0700 Subject: [PATCH] [themes] Fix missing focus hint for slider widgets --- resources/themes/Blend of Gray/style.qss | 4 ++++ resources/themes/Night Mapping/style.qss | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/resources/themes/Blend of Gray/style.qss b/resources/themes/Blend of Gray/style.qss index 18562c6f982..02180df5d3e 100644 --- a/resources/themes/Blend of Gray/style.qss +++ b/resources/themes/Blend of Gray/style.qss @@ -761,6 +761,10 @@ QToolButton[autoRaise=false]:focus:!pressed { border:1px solid @focus; } +QSlider::handle:horizontal:focus, QSlider::handle:vertical:focus { + border: 1px solid @focus; +} + /* ==================================================================================== */ /* QGIS-SPECIFIC TWEAKS */ /* ==================================================================================== */ diff --git a/resources/themes/Night Mapping/style.qss b/resources/themes/Night Mapping/style.qss index 7d59f639231..d75e5dcc0b8 100644 --- a/resources/themes/Night Mapping/style.qss +++ b/resources/themes/Night Mapping/style.qss @@ -772,6 +772,10 @@ QToolButton[autoRaise=false]:focus:!pressed { border:1px solid @focusdark; } +QSlider::handle:horizontal:focus, QSlider::handle:vertical:focus { + border: 1px solid @focus; +} + /* ==================================================================================== */ /* QGIS-SPECIFIC TWEAKS */ /* ==================================================================================== */