From 6fa805df621e4dbc1ecf5f6d03cd5469421ead2e Mon Sep 17 00:00:00 2001 From: mmbyday Date: Wed, 12 Dec 2018 13:31:24 -0800 Subject: qrscanner: update addressbook and transfer UI --- components/LineEditMulti.qml | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'components/LineEditMulti.qml') 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 + } } } -- cgit v1.2.3