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