What changed, and why it matters
This commit is a purely cosmetic user-interface tweak. It adds extra spacing at the top of a text box that displays Nostr relay web addresses, so the first line no longer looks cut off. There is no security relevance.
No security action needed; this is a routine UI polish change.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The change exposes a topPadding property on the custom ElTextArea QML control and sets it to constants.paddingLarge inside NostrConfigDialog.qml. This only affects visual layout padding in the Qt Quick GUI; no logic, input handling, validation, cryptography, or network code is modified.
Changed components
electrum/gui/qml/components/NostrConfigDialog.qmlelectrum/gui/qml/components/controls/ElTextArea.qmlInspect captured patch +2 / −0
diff --git a/electrum/gui/qml/components/NostrConfigDialog.qml b/electrum/gui/qml/components/NostrConfigDialog.qml
index 767b3c4..f536468 100644
--- a/electrum/gui/qml/components/NostrConfigDialog.qml
+++ b/electrum/gui/qml/components/NostrConfigDialog.qml
@@ -70,6 +70,7 @@ ElDialog {
Layout.fillWidth: true
Layout.fillHeight: true
font.family: FixedFont
+ topPadding: constants.paddingLarge
wrapMode: TextEdit.WrapAnywhere
onTextChanged: valid = verify(text)
inputMethodHints: Qt.ImhSensitiveData | Qt.ImhNoPredictiveText | Qt.ImhNoAutoUppercase
diff --git a/electrum/gui/qml/components/controls/ElTextArea.qml b/electrum/gui/qml/components/controls/ElTextArea.qml
index eeb528a..e161979 100644
--- a/electrum/gui/qml/components/controls/ElTextArea.qml
+++ b/electrum/gui/qml/components/controls/ElTextArea.qml
@@ -19,6 +19,7 @@ Flickable {
property alias inputMethodHints: edit.inputMethodHints
property alias placeholderText: edit.placeholderText
property alias color: edit.color
+ property alias topPadding: rootpane.topPadding
readonly property bool anyActiveFocus: activeFocus || edit.activeFocus
contentWidth: rootpane.width
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.