From c39b6f0692c2a974495105be70d0bd3d6d50efd7 Mon Sep 17 00:00:00 2001 From: mowoolli Date: Tue, 25 Sep 2018 05:28:29 -0700 Subject: [PATCH] Improve QPushButton menu arrow margin, fix #102 (#108) --- AUTHORS.md | 1 + CHANGES.md | 1 + qdarkstyle/style.qss | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/AUTHORS.md b/AUTHORS.md index be8234c7e..7723525b0 100644 --- a/AUTHORS.md +++ b/AUTHORS.md @@ -19,6 +19,7 @@ These people contribute to bug fixes, improvements and so on. Please, insert your information after the last one. - Year - Name - `` - contribution. +- 2018 - [mowoolli](https://github.com/mowoolli) - bug fixes. - 2018 - Xingyun Wu - `xingyun.wu@foxmail.com` - bug fixes. - 2018 - [KcHNST](https://github.com/KcHNST) - bug fixes. diff --git a/CHANGES.md b/CHANGES.md index 8a5866a77..b91f47e2a 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,6 +1,7 @@ # Changelog - 2.6.0 - PySide 2 (Technical Preview) Support + - Improve menu indicator position on QPushButton, #102 - 2.5.4 - Fix indicator image of checkable QGroupBox for check/uncheck states, #93 - Fix wrong comma position, #95 diff --git a/qdarkstyle/style.qss b/qdarkstyle/style.qss index 2e8405aeb..1f31089c3 100644 --- a/qdarkstyle/style.qss +++ b/qdarkstyle/style.qss @@ -1065,7 +1065,7 @@ QToolButton::menu-arrow:open { QPushButton::menu-indicator { subcontrol-origin: padding; subcontrol-position: bottom right; - left: 8px; + bottom: 5px; } QTableView {