TokenSelectorNew: workaround for QTBUG-62411, minor sizing fixes
This commit is contained in:
parent
d82499fd7b
commit
204d72cd40
|
@ -70,8 +70,8 @@ Control {
|
|||
id: tokenSelectorIcon
|
||||
objectName: "tokenSelectorIcon"
|
||||
|
||||
Layout.preferredWidth: 20
|
||||
Layout.preferredHeight: 20
|
||||
Layout.preferredWidth: 21
|
||||
Layout.preferredHeight: 21
|
||||
image.source: root.icon
|
||||
}
|
||||
|
||||
|
|
|
@ -124,6 +124,13 @@ Control {
|
|||
section.property: "type"
|
||||
section.delegate: StatusBaseText {
|
||||
width: ListView.view.width
|
||||
|
||||
// Fixed height as a workaround for the
|
||||
// https://bugreports.qt.io/browse/QTBUG-62411 bug
|
||||
// causing improper first item positioning in some cases
|
||||
// (overlapping with the section delegate)
|
||||
height: 50
|
||||
|
||||
color: Theme.palette.baseColor1
|
||||
padding: Style.current.padding
|
||||
bottomPadding: 0
|
||||
|
@ -164,6 +171,9 @@ Control {
|
|||
icon.height: 12
|
||||
text: qsTr("Back")
|
||||
|
||||
horizontalPadding: 21
|
||||
bottomPadding: Style.current.halfPadding
|
||||
|
||||
onClicked: collectiblesStackView.pop(StackView.Immediate)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue