qml: limit wallet name label widths so they get wrapped/elided. fixes #8317
This commit is contained in:
@@ -81,10 +81,11 @@ Pane {
|
||||
}
|
||||
|
||||
Label {
|
||||
Layout.fillWidth: true
|
||||
font.pixelSize: constants.fontSizeLarge
|
||||
text: model.name
|
||||
elide: Label.ElideRight
|
||||
color: model.active ? Material.foreground : Qt.darker(Material.foreground, 1.20)
|
||||
Layout.fillWidth: true
|
||||
}
|
||||
|
||||
Tag {
|
||||
|
||||
@@ -129,6 +129,7 @@ ApplicationWindow
|
||||
}
|
||||
|
||||
RowLayout {
|
||||
width: parent.width
|
||||
|
||||
Item {
|
||||
Layout.preferredWidth: constants.paddingXLarge
|
||||
|
||||
@@ -13,10 +13,14 @@ WizardComponent {
|
||||
}
|
||||
|
||||
ColumnLayout {
|
||||
width: parent.width
|
||||
|
||||
Label {
|
||||
Layout.fillWidth: true
|
||||
text: Daemon.singlePasswordEnabled
|
||||
? qsTr('Enter password')
|
||||
: qsTr('Enter password for %1').arg(wizard_data['wallet_name'])
|
||||
wrapMode: Text.Wrap
|
||||
}
|
||||
PasswordField {
|
||||
id: password1
|
||||
|
||||
Reference in New Issue
Block a user