aboutsummaryrefslogtreecommitdiff
path: root/pages/Transfer.qml
diff options
context:
space:
mode:
authorrating89us <45968869+rating89us@users.noreply.github.com>2021-06-09 05:42:43 +0200
committerrating89us <rating89us@rating89us.com>2021-06-11 17:13:52 +0200
commit52aef114fab755d2a58c19252cdc1bcbedd1c122 (patch)
tree78c30b3caf180a68652b0cf914ec722104a26625 /pages/Transfer.qml
parent7c379e2cdaafc0cd618dbaab466625aa76c918bf (diff)
downloadmonzero-gui-52aef114fab755d2a58c19252cdc1bcbedd1c122.tar.gz
monzero-gui-52aef114fab755d2a58c19252cdc1bcbedd1c122.tar.xz
monzero-gui-52aef114fab755d2a58c19252cdc1bcbedd1c122.zip
LineEdit: use ColumnLayout instead of Item (also used in LineEditMulti)
Diffstat (limited to 'pages/Transfer.qml')
-rw-r--r--pages/Transfer.qml20
1 files changed, 17 insertions, 3 deletions
diff --git a/pages/Transfer.qml b/pages/Transfer.qml
index bf56ed24..a2c5a1ae 100644
--- a/pages/Transfer.qml
+++ b/pages/Transfer.qml
@@ -468,10 +468,14 @@ Rectangle {
Layout.bottomMargin: recipientLayout.rowSpacing / 2
Layout.rightMargin: recipientLayout.colSpacing / 2
Layout.preferredWidth: 125
+ Layout.maximumWidth: 125
borderDisabled: true
fontFamily: MoneroComponents.Style.fontMonoRegular.name
fontSize: 14
- inputPadding: 0
+ inputPaddingLeft: 0
+ inputPaddingRight: 0
+ inputPaddingTop: 0
+ inputPaddingBottom: 0
placeholderFontFamily: MoneroComponents.Style.fontMonoRegular.name
placeholderFontSize: 14
placeholderLeftMargin: 0
@@ -586,11 +590,15 @@ Rectangle {
Layout.column: 1
Layout.row: 0
Layout.preferredWidth: recipientLayout.secondRowWidth
+ Layout.maximumWidth: recipientLayout.secondRowWidth
borderDisabled: true
fontFamily: MoneroComponents.Style.fontMonoRegular.name
fontSize: 14
inputHeight: 30
- inputPadding: 0
+ inputPaddingLeft: 0
+ inputPaddingRight: 0
+ inputPaddingTop: 0
+ inputPaddingBottom: 0
readOnly: true
text: Utils.removeTrailingZeros(walletManager.displayAmount(recipientModel.getAmountTotal()))
visible: recipientModel.count > 1
@@ -600,6 +608,7 @@ Rectangle {
Layout.column: 2
Layout.row: 0
Layout.preferredWidth: recipientLayout.thirdRowWidth
+ Layout.maximumWidth: recipientLayout.thirdRowWidth
horizontalAlignment: Text.AlignHCenter
font.family: MoneroComponents.Style.fontRegular.name
text: "XMR"
@@ -611,11 +620,15 @@ Rectangle {
Layout.row: recipientModel.count > 1 ? 1 : 0
Layout.preferredWidth: recipientLayout.secondRowWidth
Layout.topMargin: recipientModel.count > 1 ? 0 : 5
+ Layout.maximumWidth: recipientLayout.secondRowWidth
borderDisabled: true
fontFamily: MoneroComponents.Style.fontMonoRegular.name
fontSize: 14
inputHeight: 30
- inputPadding: 0
+ inputPaddingLeft: 0
+ inputPaddingRight: 0
+ inputPaddingTop: 0
+ inputPaddingBottom: 0
opacity: 0.7
readOnly: true
text: fiatApiConvertToFiat(walletManager.displayAmount(recipientModel.getAmountTotal()))
@@ -627,6 +640,7 @@ Rectangle {
Layout.row: recipientModel.count > 1 ? 1 : 0
Layout.preferredWidth: recipientLayout.thirdRowWidth
Layout.topMargin: recipientModel.count > 1 ? 0 : 5
+ Layout.maximumWidth: recipientLayout.thirdRowWidth
font.family: MoneroComponents.Style.fontRegular.name
horizontalAlignment: Text.AlignHCenter
opacity: 0.7