qml: adapt exception dialog to edge-to-edge layout
What changed, and why it matters
This commit is a purely cosmetic UI adjustment for Electrum's mobile-style QML interface. It changes how padding is applied to the exception/error dialog so that it displays correctly on modern edge-to-edge phone screens. There is no security relevance.
No security action needed. Treat as normal UI/layout maintenance.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The patch modifies ExceptionDialog.qml to disable inherited system-bar padding (needsSystemBarPadding: false) and instead explicitly set top/bottom margins based on app.statusBarHeight and app.navigationBarHeight. This is a layout fix for edge-to-edge displays and does not alter security-sensitive logic, input handling, cryptography, networking, or permissions.
Changed components
electrum/gui/qml/components/ExceptionDialog.qmlInspect captured patch +4 / −0
diff --git a/electrum/gui/qml/components/ExceptionDialog.qml b/electrum/gui/qml/components/ExceptionDialog.qml
index e415923..9bc3a7b 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
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.