diff options
| author | rating89us <45968869+rating89us@users.noreply.github.com> | 2020-04-14 20:47:00 +0200 |
|---|---|---|
| committer | rating89us <rating89us@rating89us.com> | 2020-04-16 13:25:28 +0200 |
| commit | de6a9b6779f7d9ff2bb1eac93eea91adf271dd30 (patch) | |
| tree | 5eb5ca623a45375ae541af0cebf6713d2d28194e /components | |
| parent | 8e4124f06aa6c580ee62dd1b78735bc488e21366 (diff) | |
| download | monzero-gui-de6a9b6779f7d9ff2bb1eac93eea91adf271dd30.tar.gz monzero-gui-de6a9b6779f7d9ff2bb1eac93eea91adf271dd30.tar.xz monzero-gui-de6a9b6779f7d9ff2bb1eac93eea91adf271dd30.zip | |
Transfer: address book inline button, 2nd inline button, scan QR code button fixes
spacing fix
Diffstat (limited to 'components')
| -rw-r--r-- | components/InlineButton.qml | 1 | ||||
| -rw-r--r-- | components/LineEditMulti.qml | 9 |
2 files changed, 10 insertions, 0 deletions
diff --git a/components/InlineButton.qml b/components/InlineButton.qml index 402dade2..299f1ae6 100644 --- a/components/InlineButton.qml +++ b/components/InlineButton.qml @@ -53,6 +53,7 @@ Item { property alias fontPixelSize: inlineText.font.pixelSize property alias fontFamily: inlineText.font.family property alias buttonColor: rect.color + property alias buttonHeight: rect.height signal clicked() function doClick() { diff --git a/components/LineEditMulti.qml b/components/LineEditMulti.qml index 46052495..179d0438 100644 --- a/components/LineEditMulti.qml +++ b/components/LineEditMulti.qml @@ -87,6 +87,8 @@ ColumnLayout { property alias inlineButton: inlineButtonId property bool inlineButtonVisible: false + property alias inlineButton2: inlineButton2Id + property bool inlineButton2Visible: false signal labelButtonClicked(); signal inputLabelLinkActivated(); @@ -202,5 +204,12 @@ ColumnLayout { anchors.right: parent.right anchors.rightMargin: 8 } + + MoneroComponents.InlineButton { + id: inlineButton2Id + visible: (inlineButton2Id.text || inlineButton2Id.icon) && inlineButton2Visible ? true : false + anchors.right: parent.right + anchors.rightMargin: inlineButtonVisible ? 48 : 8 + } } } |
