From cea8c2656d055115220cc017a7d8c7c6b62079b1 Mon Sep 17 00:00:00 2001 From: Nikhil Tanwar <2002nikhiltanwar@gmail.com> Date: Fri, 25 Feb 2022 17:39:56 +0530 Subject: [PATCH] Remove padding from QSpinbox This removes an explicit padding from QSpinbox. QSpinbox will now have the default padding (if any) for QSpinbox. Helps the text to not disappear at some systems/configurations To keep the previous design changes QLabel padding to 12px (top and bottom) and 8px (right and left) --- resources/css/_settingsManager.css | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/resources/css/_settingsManager.css b/resources/css/_settingsManager.css index fdbef50..c1ef9a1 100644 --- a/resources/css/_settingsManager.css +++ b/resources/css/_settingsManager.css @@ -7,7 +7,11 @@ QPushButton, QSpinBox { font-size: 16px; line-height: 24px; - padding: 8px; +} + +QLabel, +QPushButton { + padding: 12px 8px; } QFrame[frameShape="4"] {