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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user