From 0263b5ecc139ff06d79dccb026643c094418cbe4 Mon Sep 17 00:00:00 2001 From: f321x Date: Thu, 28 Aug 2025 10:09:12 +0200 Subject: [PATCH] qml: adapt exception dialog to edge-to-edge layout Even though the exception dialog inherits from ElDialog the padding didn't work as it overwrites the properties of the ElDialog. So the padding has to be applied separately to the ExceptionDialog. --- electrum/gui/qml/components/ExceptionDialog.qml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/electrum/gui/qml/components/ExceptionDialog.qml b/electrum/gui/qml/components/ExceptionDialog.qml index e4159232a..9bc3a7b5b 100644 --- a/electrum/gui/qml/components/ExceptionDialog.qml +++ b/electrum/gui/qml/components/ExceptionDialog.qml @@ -18,10 +18,14 @@ ElDialog width: parent.width height: parent.height z: 1000 // assure topmost of all other dialogs. note: child popups need even higher! + // disable padding in ElDialog as it is overwritten here and shows no effect, this dialog needs padding though + needsSystemBarPadding: false header: null ColumnLayout { + anchors.topMargin: app.statusBarHeight // edge-to-edge layout padding + anchors.bottomMargin: app.navigationBarHeight anchors.fill: parent enabled: !_sending