aboutsummaryrefslogtreecommitdiff
path: root/components/LineEditMulti.qml
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2019-02-06 15:59:10 -0600
committerluigi1111 <luigi1111w@gmail.com>2019-02-06 15:59:10 -0600
commitb4e19cb3e857481878751bd491e601b31311de72 (patch)
treedb5a45e29dfb2312e3252ab4e63cc3454f0a56d7 /components/LineEditMulti.qml
parentc7f3deb5cc5e68891154c14275fd5dfe6bdd0a71 (diff)
parent6fa805df621e4dbc1ecf5f6d03cd5469421ead2e (diff)
downloadmonzero-gui-b4e19cb3e857481878751bd491e601b31311de72.tar.gz
monzero-gui-b4e19cb3e857481878751bd491e601b31311de72.tar.xz
monzero-gui-b4e19cb3e857481878751bd491e601b31311de72.zip
Merge pull request #1807
6fa805d qrscanner: update addressbook and transfer UI (mmbyday)
Diffstat (limited to 'components/LineEditMulti.qml')
-rw-r--r--components/LineEditMulti.qml12
1 files changed, 12 insertions, 0 deletions
diff --git a/components/LineEditMulti.qml b/components/LineEditMulti.qml
index 17b50b2e..73033c7e 100644
--- a/components/LineEditMulti.qml
+++ b/components/LineEditMulti.qml
@@ -83,6 +83,9 @@ ColumnLayout {
property alias addressValidation: input.addressValidation
property string backgroundColor: "" // mock
+ property alias inlineButton: inlineButtonId
+ property bool inlineButtonVisible: false
+
signal labelButtonClicked();
signal inputLabelLinkActivated();
signal editingFinished();
@@ -183,5 +186,14 @@ ColumnLayout {
anchors.fill: parent
visible: !item.borderDisabled
}
+
+ MoneroComponents.InlineButton {
+ id: inlineButtonId
+ visible: (inlineButtonId.text || inlineButtonId.icon) && inlineButtonVisible ? true : false
+ anchors.right: parent.right
+ anchors.rightMargin: 8 * scaleRatio
+ anchors.top: parent.top
+ anchors.topMargin: 4 * scaleRatio
+ }
}
}