aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Moe Gustavsen <richard.gustavsen@qt.io>2020-10-14 10:08:41 +0200
committerRichard Moe Gustavsen <richard.gustavsen@qt.io>2020-10-14 13:38:51 +0200
commitb3c08845c769771f881f41691c7effaf42a91483 (patch)
tree303b6219fd9b3b7ea79efd962adc8c3166f7ff09
parent7cb2cf5cff22af16b146593a629cb3c437df0233 (diff)
nativestyle, ComboBox: remove insets
The styleitem no longer has any property called "insets". This was removed a long time ago in favor of layoutRect (which will not affect insets). Change-Id: I460a5062711d03c01fc7de27aea7ac381068b951 Reviewed-by: Jan Arve Sæther <jan-arve.saether@qt.io>
-rw-r--r--src/imports/nativestyle/controls/DefaultComboBox.qml5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/imports/nativestyle/controls/DefaultComboBox.qml b/src/imports/nativestyle/controls/DefaultComboBox.qml
index 6992c597..7b286a1e 100644
--- a/src/imports/nativestyle/controls/DefaultComboBox.qml
+++ b/src/imports/nativestyle/controls/DefaultComboBox.qml
@@ -60,11 +60,6 @@ T.ComboBox {
topPadding: __nativeBackground ? background.contentPadding.top : 5
bottomPadding: __nativeBackground ? background.contentPadding.bottom : 5
- topInset: __nativeBackground ? background.insets.top : 0
- bottomInset: __nativeBackground ? background.insets.bottom : 0
- leftInset: __nativeBackground ? background.insets.left : 0
- rightInset: __nativeBackground ? background.insets.right : 0
-
contentItem: T.TextField {
implicitWidth: contentWidth
implicitHeight: contentHeight