From 212a4ca2e139c1e8c8d3c22f161353474f3c387d Mon Sep 17 00:00:00 2001 From: Matthias Metelka <62722460+kleinerpirat@users.noreply.github.com> Date: Thu, 12 Jan 2023 22:58:32 +0100 Subject: [PATCH] Highlight QCheckBox and QRadioButton when focused --- qt/aqt/stylesheets.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/qt/aqt/stylesheets.py b/qt/aqt/stylesheets.py index bc7bb0122..69bc7824b 100644 --- a/qt/aqt/stylesheets.py +++ b/qt/aqt/stylesheets.py @@ -489,8 +489,10 @@ class CustomStyles: QMenu::indicator:exclusive {{ border-radius: 8px; }} + QCheckBox::indicator:focus, QCheckBox::indicator:hover, QCheckBox::indicator:checked:hover, + QRadioButton::indicator:focus, QRadioButton::indicator:hover, QRadioButton::indicator:checked:hover {{ border: 2px solid {tm.var(colors.BORDER_STRONG)};