qml: add default topPadding to ElTextArea

I noticed all ElTextAreas seem to look better with some topPadding,
so it makes more sense to add it as default to ElTextArea.
Followup to https://github.com/spesmilo/electrum/pull/10579
This commit is contained in:
f321x
2026-04-17 11:46:39 +02:00
parent 9b26c1812d
commit 9079badfdb
2 changed files with 1 additions and 1 deletions
@@ -74,7 +74,6 @@ 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
@@ -49,6 +49,7 @@ Flickable {
width: root.width
height: Math.max(root.height, edit.height + topPadding + bottomPadding)
padding: constants.paddingXSmall
topPadding: constants.paddingLarge
TextArea {
id: edit
width: parent.width