Merge pull request #20008 from PaddleStroke/patch-4

QuantitySpinbox: Fix right padding when not bound
This commit is contained in:
Chris Hennes
2025-03-07 22:38:23 +00:00
committed by GitHub

View File

@@ -311,5 +311,4 @@ void ExpressionWidget::makeLabel(QLineEdit* le)
iconLabel->setStyleSheet(QStringLiteral("QLabel { border: none; padding: 0px; padding-top: %2px; width: %1px; height: %1px }").arg(iconHeight).arg(frameWidth/2));
iconLabel->hide();
iconLabel->setExpressionText(QString());
le->setStyleSheet(QStringLiteral("QLineEdit { padding-right: %1px } ").arg(iconHeight+frameWidth));
}