diff --git a/qml/EntryDelegate.qml b/qml/EntryDelegate.qml index 40cdb46..6c64849 100644 --- a/qml/EntryDelegate.qml +++ b/qml/EntryDelegate.qml @@ -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 } diff --git a/qml/FieldsDelegate.qml b/qml/FieldsDelegate.qml index 8a217b8..974cf45 100644 --- a/qml/FieldsDelegate.qml +++ b/qml/FieldsDelegate.qml @@ -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) {