diff options
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 + } } } |
