mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-16 08:37:12 +00:00
TokenSelectorNew: workaround for QTBUG-62411, minor sizing fixes
This commit is contained in:
parent
d82499fd7b
commit
204d72cd40
@ -70,8 +70,8 @@ Control {
|
|||||||
id: tokenSelectorIcon
|
id: tokenSelectorIcon
|
||||||
objectName: "tokenSelectorIcon"
|
objectName: "tokenSelectorIcon"
|
||||||
|
|
||||||
Layout.preferredWidth: 20
|
Layout.preferredWidth: 21
|
||||||
Layout.preferredHeight: 20
|
Layout.preferredHeight: 21
|
||||||
image.source: root.icon
|
image.source: root.icon
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -124,6 +124,13 @@ Control {
|
|||||||
section.property: "type"
|
section.property: "type"
|
||||||
section.delegate: StatusBaseText {
|
section.delegate: StatusBaseText {
|
||||||
width: ListView.view.width
|
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
|
color: Theme.palette.baseColor1
|
||||||
padding: Style.current.padding
|
padding: Style.current.padding
|
||||||
bottomPadding: 0
|
bottomPadding: 0
|
||||||
@ -164,6 +171,9 @@ Control {
|
|||||||
icon.height: 12
|
icon.height: 12
|
||||||
text: qsTr("Back")
|
text: qsTr("Back")
|
||||||
|
|
||||||
|
horizontalPadding: 21
|
||||||
|
bottomPadding: Style.current.halfPadding
|
||||||
|
|
||||||
onClicked: collectiblesStackView.pop(StackView.Immediate)
|
onClicked: collectiblesStackView.pop(StackView.Immediate)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user