diff options
| author | mmbyday <mmbyday@protonmail.com> | 2018-12-12 13:31:24 -0800 |
|---|---|---|
| committer | mmbyday <mmbyday@protonmail.com> | 2019-02-01 15:39:41 -0800 |
| commit | 6fa805df621e4dbc1ecf5f6d03cd5469421ead2e (patch) | |
| tree | db5a45e29dfb2312e3252ab4e63cc3454f0a56d7 /components/LineEditMulti.qml | |
| parent | c7f3deb5cc5e68891154c14275fd5dfe6bdd0a71 (diff) | |
| download | monzero-gui-6fa805df621e4dbc1ecf5f6d03cd5469421ead2e.tar.gz monzero-gui-6fa805df621e4dbc1ecf5f6d03cd5469421ead2e.tar.xz monzero-gui-6fa805df621e4dbc1ecf5f6d03cd5469421ead2e.zip | |
qrscanner: update addressbook and transfer UI
Diffstat (limited to 'components/LineEditMulti.qml')
| -rw-r--r-- | components/LineEditMulti.qml | 12 |
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 + } } } |
