Merge pull request #3527

1512908 Transfer: fix y position of recipient elements (rating89us)
This commit is contained in:
luigi1111 2021-06-10 10:21:07 -05:00
commit 2290e7e762
No known key found for this signature in database
GPG key ID: F4ACA0183641E010

View file

@ -340,6 +340,7 @@ Rectangle {
Rectangle { Rectangle {
Layout.fillWidth: true Layout.fillWidth: true
Layout.topMargin: -1
Layout.rightMargin: recipientLayout.thirdRowWidth Layout.rightMargin: recipientLayout.thirdRowWidth
color: MoneroComponents.Style.inputBorderColorInActive color: MoneroComponents.Style.inputBorderColorInActive
height: 1 height: 1
@ -521,6 +522,7 @@ Rectangle {
Layout.column: 0 Layout.column: 0
Layout.row: 0 Layout.row: 0
Layout.fillWidth: true Layout.fillWidth: true
Layout.topMargin: recipientModel.count > 1 ? 0 : 5
spacing: 0 spacing: 0
CheckBox { CheckBox {
@ -584,6 +586,7 @@ Rectangle {
Layout.column: 1 Layout.column: 1
Layout.row: recipientModel.count > 1 ? 1 : 0 Layout.row: recipientModel.count > 1 ? 1 : 0
Layout.preferredWidth: recipientLayout.secondRowWidth Layout.preferredWidth: recipientLayout.secondRowWidth
Layout.topMargin: recipientModel.count > 1 ? 0 : 5
borderDisabled: true borderDisabled: true
fontFamily: MoneroComponents.Style.fontMonoRegular.name fontFamily: MoneroComponents.Style.fontMonoRegular.name
fontSize: 14 fontSize: 14
@ -599,6 +602,7 @@ Rectangle {
Layout.column: 2 Layout.column: 2
Layout.row: recipientModel.count > 1 ? 1 : 0 Layout.row: recipientModel.count > 1 ? 1 : 0
Layout.preferredWidth: recipientLayout.thirdRowWidth Layout.preferredWidth: recipientLayout.thirdRowWidth
Layout.topMargin: recipientModel.count > 1 ? 0 : 5
font.family: MoneroComponents.Style.fontRegular.name font.family: MoneroComponents.Style.fontRegular.name
horizontalAlignment: Text.AlignHCenter horizontalAlignment: Text.AlignHCenter
opacity: 0.7 opacity: 0.7