Skip to content

Commit 5ae62c0

Browse files
committed
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 #10579
1 parent 3fbf597 commit 5ae62c0

2 files changed

Lines changed: 1 addition & 1 deletion

File tree

electrum/gui/qml/components/NostrConfigDialog.qml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ ElDialog {
7070
Layout.fillWidth: true
7171
Layout.fillHeight: true
7272
font.family: FixedFont
73-
topPadding: constants.paddingLarge
7473
wrapMode: TextEdit.WrapAnywhere
7574
onTextChanged: valid = verify(text)
7675
inputMethodHints: Qt.ImhSensitiveData | Qt.ImhNoPredictiveText | Qt.ImhNoAutoUppercase

electrum/gui/qml/components/controls/ElTextArea.qml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ Flickable {
4949
width: root.width
5050
height: Math.max(root.height, edit.height + topPadding + bottomPadding)
5151
padding: constants.paddingXSmall
52+
topPadding: constants.paddingLarge
5253
TextArea {
5354
id: edit
5455
width: parent.width

0 commit comments

Comments
 (0)