qml: add top padding to nostr relay url list

The first relay url was close to the top of the ElTextArea and looked a
bit sliced. Adding some padding makes it look better.
This commit is contained in:
f321x
2026-04-14 08:34:18 +02:00
parent 016c8b5f4c
commit 24d93420fb
2 changed files with 2 additions and 0 deletions
@@ -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
@@ -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