From c24516ae71483b9392913fdd592e8a3c4d7bd3aa Mon Sep 17 00:00:00 2001 From: wmayer Date: Sat, 14 Nov 2020 13:18:45 +0100 Subject: [PATCH] Gui: [skip ci] try to avoid to truncate QuantitySpinBox at bottom margin on macOS --- src/Gui/QuantitySpinBox.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Gui/QuantitySpinBox.cpp b/src/Gui/QuantitySpinBox.cpp index f87ed50848..cd635681b0 100644 --- a/src/Gui/QuantitySpinBox.cpp +++ b/src/Gui/QuantitySpinBox.cpp @@ -313,7 +313,7 @@ QuantitySpinBox::QuantitySpinBox(QWidget *parent) lineEdit()->setTextMargins(0, 2, 0, 2); #else // https://forum.freecadweb.org/viewtopic.php?f=8&t=50615 - lineEdit()->setTextMargins(0, 2, 0, 4); + lineEdit()->setTextMargins(0, 2, 0, 0); #endif QObject::connect(iconLabel, SIGNAL(clicked()), this, SLOT(openFormulaDialog()));