From 3fbc82dc953941eb14404cce07b59c3ff029852a Mon Sep 17 00:00:00 2001 From: Sander van Grieken Date: Mon, 16 Jan 2023 09:14:07 +0100 Subject: [PATCH] qml: let Pin dialog decide its own height --- electrum/gui/qml/components/Pin.qml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/electrum/gui/qml/components/Pin.qml b/electrum/gui/qml/components/Pin.qml index db8e206fa..e1332e062 100644 --- a/electrum/gui/qml/components/Pin.qml +++ b/electrum/gui/qml/components/Pin.qml @@ -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 {