Fix ComboBox popup positioning
This commit is contained in:
@@ -67,7 +67,6 @@ GridLayout
|
||||
model: address_model
|
||||
textRole: "display"
|
||||
popup.height: 300
|
||||
popup.y: postcode.y + 5 - (postcode.height * 2)
|
||||
currentIndex: -1
|
||||
onCurrentIndexChanged: city.currentIndex = postcode.currentIndex
|
||||
|
||||
@@ -95,7 +94,6 @@ GridLayout
|
||||
model: address_model
|
||||
textRole: "city"
|
||||
popup.height: 300
|
||||
popup.y: postcode.y + 5 - (postcode.height * 2)
|
||||
currentIndex: -1
|
||||
}
|
||||
|
||||
|
||||
@@ -118,7 +118,6 @@ GridLayout
|
||||
model: address_model
|
||||
textRole: "display"
|
||||
popup.height: 300
|
||||
popup.y: postcode.y + 5 - (postcode.height * 2)
|
||||
currentIndex: -1
|
||||
onCurrentIndexChanged: city.currentIndex = postcode.currentIndex
|
||||
validator: RegularExpressionValidator
|
||||
@@ -145,7 +144,6 @@ GridLayout
|
||||
model: address_model
|
||||
textRole: "city"
|
||||
popup.height: 300
|
||||
popup.y: postcode.y + 5 - (postcode.height * 2)
|
||||
currentIndex: -1
|
||||
|
||||
}
|
||||
|
||||
@@ -76,8 +76,6 @@ ColumnLayout
|
||||
model: address_model
|
||||
textRole: "display"
|
||||
popup.height: 300
|
||||
popup.y: zipcode.y + 5 - (zipcode.height * 2)
|
||||
//currentIndex: -1
|
||||
onCurrentIndexChanged: city.currentIndex = zipcode.currentIndex
|
||||
validator: RegularExpressionValidator
|
||||
{
|
||||
@@ -100,7 +98,6 @@ ColumnLayout
|
||||
model: address_model
|
||||
textRole: "city"
|
||||
popup.height: 300
|
||||
popup.y: zipcode.y + 5 - (zipcode.height * 2)
|
||||
currentIndex: -1
|
||||
}
|
||||
}
|
||||
|
||||
@@ -96,7 +96,6 @@ GridLayout
|
||||
model: address_model
|
||||
textRole: "display"
|
||||
popup.height: 300
|
||||
popup.y: postcode.y + 5 - (postcode.height * 2)
|
||||
currentIndex: -1
|
||||
onCurrentIndexChanged: city.currentIndex = postcode.currentIndex
|
||||
Layout.columnSpan: 3
|
||||
@@ -123,10 +122,8 @@ GridLayout
|
||||
model: address_model
|
||||
textRole: "city"
|
||||
popup.height: 300
|
||||
popup.y: postcode.y + 5 - (postcode.height * 2)
|
||||
currentIndex: -1
|
||||
Layout.columnSpan: 3
|
||||
// onCurrentIndexChanged: postcode.currentIndex = city.currentIndex
|
||||
}
|
||||
|
||||
Label
|
||||
|
||||
@@ -90,7 +90,6 @@ GridLayout
|
||||
model: address_model
|
||||
textRole: "city"
|
||||
popup.height: 300
|
||||
popup.y: postcode.y + 5 - (postcode.height * 2)
|
||||
currentIndex: -1
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user