1
0

qml: let Pin dialog decide its own height

This commit is contained in:
Sander van Grieken
2023-01-16 09:14:07 +01:00
parent 2c0dd0deb0
commit 3fbc82dc95

View File

@@ -14,7 +14,6 @@ ElDialog {
iconSource: '../../../icons/lock.png'
width: parent.width * 2/3
height: parent.height * 1/3
anchors.centerIn: parent
@@ -78,7 +77,6 @@ ElDialog {
ColumnLayout {
width: parent.width
height: parent.height
Label {
text: [qsTr('Enter PIN'), qsTr('Enter New PIN'), qsTr('Re-enter New PIN')][_phase]
@@ -109,8 +107,6 @@ ElDialog {
color: constants.colorError
Layout.alignment: Qt.AlignHCenter
}
Item { Layout.fillHeight: true; Layout.preferredWidth: 1 }
}
FontMetrics {