Elide entry names in entries/fields list items
This commit is contained in:
parent
8319d4f485
commit
613d62d042
|
@ -38,6 +38,8 @@ Item {
|
|||
Controls.Label {
|
||||
Layout.fillWidth: true
|
||||
Layout.fillHeight: true
|
||||
Layout.maximumWidth: availableWidth - listItem.overlayWidth
|
||||
elide: Text.ElideRight
|
||||
text: model.name
|
||||
verticalAlignment: Text.AlignVCenter
|
||||
}
|
||||
|
|
|
@ -31,6 +31,8 @@ Item {
|
|||
Controls.Label {
|
||||
Layout.fillWidth: true
|
||||
Layout.fillHeight: true
|
||||
Layout.maximumWidth: availableWidth - listItem.overlayWidth
|
||||
elide: Text.ElideRight
|
||||
text: {
|
||||
let pieces = []
|
||||
if (model.key) {
|
||||
|
|
Loading…
Reference in New Issue