diff options
author | Mitch Curtis <[email protected]> | 2024-02-28 16:06:02 +0800 |
---|---|---|
committer | Mitch Curtis <[email protected]> | 2024-03-07 01:32:12 +0000 |
commit | 4c355bf34efab09010d0f1cba4f5c3b6f5ebf0a3 (patch) | |
tree | aaa1732637672f752a2b88839088c7efb0370fb2 /src | |
parent | cb7eb152204e206539f307a9556eea43c589f026 (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 <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/quickcontrols/material/ComboBox.qml | 3 |
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) |