StandardDropdown: use ColumnLayout; use same height of LineEdit; include dropdownLabel

This commit is contained in:
rating89us
2021-06-19 16:42:15 +02:00
committed by rating89us
parent b970cad48b
commit eacc57fb44
4 changed files with 88 additions and 96 deletions

View File

@@ -669,13 +669,6 @@ Rectangle {
spacing: 0
visible: appWindow.walletMode >= 2
Label {
id: transactionPriority
Layout.topMargin: 0
text: qsTr("Transaction priority") + translationManager.emptyString
fontBold: false
fontSize: 16
}
// Note: workaround for translations in listElements
// ListElement: cannot use script for property value, so
// code like this wont work:
@@ -699,10 +692,11 @@ Rectangle {
spacing: 10
StandardDropdown {
Layout.preferredWidth: 200
Layout.maximumWidth: 200
id: priorityDropdown
currentIndex: 0
dataModel: priorityModelV5
labelText: qsTr("Transaction priority") + translationManager.emptyString
}
MoneroComponents.TextPlain {