Merge pull request #1869

7fe69ca Receive: fix priority dropdown alignment (selsta)
This commit is contained in:
luigi1111 2018-12-29 15:07:58 -06:00
commit 97de72b27d
No known key found for this signature in database
GPG key ID: F4ACA0183641E010

View file

@ -130,12 +130,7 @@ Rectangle {
ColumnLayout { ColumnLayout {
Layout.fillWidth: true Layout.fillWidth: true
Layout.minimumWidth: 200 * scaleRatio
RowLayout {
id: amountRow
Layout.fillWidth: true
Layout.minimumWidth: 200
// Amount input // Amount input
LineEdit { LineEdit {
@ -144,7 +139,7 @@ Rectangle {
inlineIcon: true inlineIcon: true
labelText: qsTr("Amount") + translationManager.emptyString labelText: qsTr("Amount") + translationManager.emptyString
placeholderText: qsTr("") + translationManager.emptyString placeholderText: qsTr("") + translationManager.emptyString
width: 100 width: 100 * scaleRatio
fontBold: true fontBold: true
inlineButtonText: qsTr("All") + translationManager.emptyString inlineButtonText: qsTr("All") + translationManager.emptyString
inlineButton.onClicked: amountLine.text = "(all)" inlineButton.onClicked: amountLine.text = "(all)"
@ -159,13 +154,12 @@ Rectangle {
} }
} }
} }
}
ColumnLayout { ColumnLayout {
Layout.fillWidth: true Layout.fillWidth: true
Label { Label {
id: transactionPriority id: transactionPriority
Layout.topMargin: 14 Layout.topMargin: 12 * scaleRatio
text: qsTr("Transaction priority") + translationManager.emptyString text: qsTr("Transaction priority") + translationManager.emptyString
fontBold: false fontBold: false
fontSize: 16 fontSize: 16
@ -191,7 +185,7 @@ Rectangle {
StandardDropdown { StandardDropdown {
Layout.fillWidth: true Layout.fillWidth: true
id: priorityDropdown id: priorityDropdown
Layout.topMargin: 6 Layout.topMargin: 5 * scaleRatio
shadowReleasedColor: "#FF4304" shadowReleasedColor: "#FF4304"
shadowPressedColor: "#B32D00" shadowPressedColor: "#B32D00"
releasedColor: "#363636" releasedColor: "#363636"