mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-11-17 00:07:51 +00:00
Receive: fix priority dropdown alignment
Also remove unnecessary row layout.
This commit is contained in:
parent
48a267f631
commit
7fe69cac94
1 changed files with 19 additions and 25 deletions
|
@ -130,12 +130,7 @@ Rectangle {
|
|||
|
||||
ColumnLayout {
|
||||
Layout.fillWidth: true
|
||||
|
||||
RowLayout {
|
||||
id: amountRow
|
||||
|
||||
Layout.fillWidth: true
|
||||
Layout.minimumWidth: 200
|
||||
Layout.minimumWidth: 200 * scaleRatio
|
||||
|
||||
// Amount input
|
||||
LineEdit {
|
||||
|
@ -144,7 +139,7 @@ Rectangle {
|
|||
inlineIcon: true
|
||||
labelText: qsTr("Amount") + translationManager.emptyString
|
||||
placeholderText: qsTr("") + translationManager.emptyString
|
||||
width: 100
|
||||
width: 100 * scaleRatio
|
||||
fontBold: true
|
||||
inlineButtonText: qsTr("All") + translationManager.emptyString
|
||||
inlineButton.onClicked: amountLine.text = "(all)"
|
||||
|
@ -159,13 +154,12 @@ Rectangle {
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
ColumnLayout {
|
||||
Layout.fillWidth: true
|
||||
Label {
|
||||
id: transactionPriority
|
||||
Layout.topMargin: 14
|
||||
Layout.topMargin: 12 * scaleRatio
|
||||
text: qsTr("Transaction priority") + translationManager.emptyString
|
||||
fontBold: false
|
||||
fontSize: 16
|
||||
|
@ -191,7 +185,7 @@ Rectangle {
|
|||
StandardDropdown {
|
||||
Layout.fillWidth: true
|
||||
id: priorityDropdown
|
||||
Layout.topMargin: 6
|
||||
Layout.topMargin: 5 * scaleRatio
|
||||
shadowReleasedColor: "#FF4304"
|
||||
shadowPressedColor: "#B32D00"
|
||||
releasedColor: "#363636"
|
||||
|
|
Loading…
Reference in a new issue