mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-01-10 03:42:05 +02:00
Merge pull request #1853
787234e
LineEditMulti: fix showingHeader and padding (empty label case) (xiphon)
This commit is contained in:
commit
1f2d2db1fe
@ -78,7 +78,7 @@ ColumnLayout {
|
|||||||
property var onPaste: function(clipboardText) {
|
property var onPaste: function(clipboardText) {
|
||||||
item.text = clipboardText;
|
item.text = clipboardText;
|
||||||
}
|
}
|
||||||
property bool showingHeader: true
|
property bool showingHeader: labelText != "" || copyButton || pasteButton
|
||||||
property var wrapMode: Text.NoWrap
|
property var wrapMode: Text.NoWrap
|
||||||
property alias addressValidation: input.addressValidation
|
property alias addressValidation: input.addressValidation
|
||||||
property string backgroundColor: "" // mock
|
property string backgroundColor: "" // mock
|
||||||
@ -150,7 +150,7 @@ ColumnLayout {
|
|||||||
readOnly: false
|
readOnly: false
|
||||||
addressValidation: false
|
addressValidation: false
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
topPadding: item.showingHeader ? 10 * scaleRatio : 0
|
topPadding: 10 * scaleRatio
|
||||||
bottomPadding: 10 * scaleRatio
|
bottomPadding: 10 * scaleRatio
|
||||||
wrapMode: item.wrapMode
|
wrapMode: item.wrapMode
|
||||||
fontSize: item.fontSize
|
fontSize: item.fontSize
|
||||||
|
Loading…
Reference in New Issue
Block a user