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