From 8d18a51c9d11a09d8bb428dfce4a068c7f1c327c Mon Sep 17 00:00:00 2001 From: Arin Alex Date: Thu, 5 Oct 2017 02:48:13 +0300 Subject: [PATCH] SpinBox theme fixed --- 3rdparty/dark_style_sheet/qdarkstyle/style.qss | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/3rdparty/dark_style_sheet/qdarkstyle/style.qss b/3rdparty/dark_style_sheet/qdarkstyle/style.qss index 831f210..e0a8fe1 100644 --- a/3rdparty/dark_style_sheet/qdarkstyle/style.qss +++ b/3rdparty/dark_style_sheet/qdarkstyle/style.qss @@ -708,21 +708,20 @@ QAbstractSpinBox { background-color: #232629; color: #eff0f1; border-radius: 2px; - min-width: 75px; } QAbstractSpinBox:up-button { background-color: transparent; subcontrol-origin: border; - subcontrol-position: center right; + subcontrol-position: top right; } QAbstractSpinBox:down-button { background-color: transparent; subcontrol-origin: border; - subcontrol-position: center left; + subcontrol-position: bottom right; } QAbstractSpinBox::up-arrow,QAbstractSpinBox::up-arrow:disabled,QAbstractSpinBox::up-arrow:off {