aboutsummaryrefslogtreecommitdiffstats
path: root/src/quickcontrols
diff options
context:
space:
mode:
authorMitch Curtis <mitch.curtis@qt.io>2024-02-28 16:06:02 +0800
committerMitch Curtis <mitch.curtis@qt.io>2024-03-07 01:32:12 +0000
commit4c355bf34efab09010d0f1cba4f5c3b6f5ebf0a3 (patch)
treeaaa1732637672f752a2b88839088c7efb0370fb2 /src/quickcontrols
parentcb7eb152204e206539f307a9556eea43c589f026 (diff)
Material: remove ComboBox's insets
These were probably necessary when it had drop shadows, but it no longer does. Doing this makes it the same height as TextField. [ChangeLog][Controls][Material] ComboBox's insets were removed. This may cause visual changes to UIs. Task-number: QTBUG-120067 Pick-to: 6.6 6.7 Change-Id: Ia66f254eb5d556b7f629488a8f74e2417d7d7489 Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
Diffstat (limited to 'src/quickcontrols')
-rw-r--r--src/quickcontrols/material/ComboBox.qml3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/quickcontrols/material/ComboBox.qml b/src/quickcontrols/material/ComboBox.qml
index 28da813b37..5694aa055c 100644
--- a/src/quickcontrols/material/ComboBox.qml
+++ b/src/quickcontrols/material/ComboBox.qml
@@ -19,9 +19,6 @@ T.ComboBox {
implicitContentHeight + topPadding + bottomPadding,
implicitIndicatorHeight + topPadding + bottomPadding)
- topInset: 6
- bottomInset: 6
-
leftPadding: padding + (!control.mirrored || !indicator || !indicator.visible ? 0 : indicator.width + spacing)
rightPadding: padding + (control.mirrored || !indicator || !indicator.visible ? 0 : indicator.width + spacing)