From d3e10de6fae47349017b760efa0391245c3e8163 Mon Sep 17 00:00:00 2001 From: ColinDuquesnoy Date: Thu, 30 Jan 2014 10:24:20 +0100 Subject: [PATCH] Improve QToolButton, QCheckBox and QRadioButton --- qdarkstyle/style.qss | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/qdarkstyle/style.qss b/qdarkstyle/style.qss index 82b295e11..7998e2b1d 100644 --- a/qdarkstyle/style.qss +++ b/qdarkstyle/style.qss @@ -380,6 +380,11 @@ QRadioButton::indicator:checked ); } +QCheckBox, QRadioButton +{ + padding: 3px; +} + QCheckBox::indicator{ color: #b1b1b1; background-color: #302F2F; @@ -798,10 +803,20 @@ QToolButton { } QToolButton:pressed { - background-color: #3A3939; + background-color: #4A4949; + border: 1px solid silver; + border-radius: 3px; } QToolButton:hover { - background-color: #3A3939; + background-color: #4A4949; + border: 1px solid gray; + border-radius: 3px; +} + +QPushButton::menu-indicator { + subcontrol-origin: padding; + subcontrol-position: bottom right; + left: 8px; } QTableView QTableCornerButton::section {