Transfer: fix y position of recipient elements

This commit is contained in:
rating89us 2021-06-04 17:33:19 +02:00 committed by rating89us
parent 2946127ed7
commit 1512908751

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