From b37ec66b91496adb7a5c7551209ce2fef8d147a2 Mon Sep 17 00:00:00 2001 From: Richard Kello Date: Sun, 12 Jul 2026 19:47:20 +0200 Subject: [PATCH 1/2] Add support for multiline texts for value map/relations --- app/qml/components/MMListDelegate.qml | 8 ++++++++ app/qml/gps/MMSelectionDrawer.qml | 2 -- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/app/qml/components/MMListDelegate.qml b/app/qml/components/MMListDelegate.qml index 93c94cca0..6d55c2a4a 100644 --- a/app/qml/components/MMListDelegate.qml +++ b/app/qml/components/MMListDelegate.qml @@ -87,6 +87,10 @@ Item { textFormat: Text.PlainText color: __style.nightColor + + elide: Text.ElideRight + wrapMode: Text.Wrap + maximumLineCount: 3 } MMText { @@ -98,6 +102,10 @@ Item { text: root.secondaryText color: __style.nightColor + + elide: Text.ElideRight + wrapMode: Text.Wrap + maximumLineCount: 3 } } diff --git a/app/qml/gps/MMSelectionDrawer.qml b/app/qml/gps/MMSelectionDrawer.qml index dbc280bd9..1ec921fca 100644 --- a/app/qml/gps/MMSelectionDrawer.qml +++ b/app/qml/gps/MMSelectionDrawer.qml @@ -76,7 +76,6 @@ MMComponents.MMDrawer { color: __style.nightColor elide: Text.ElideRight - wrapMode: Text.NoWrap } MMComponents.MMText { @@ -86,7 +85,6 @@ MMComponents.MMDrawer { color: __style.nightColor elide: Text.ElideRight - wrapMode: Text.NoWrap } } } From c1bc8fca4251254018e65ccd1b72c988e2000677 Mon Sep 17 00:00:00 2001 From: Richard Kello Date: Sun, 12 Jul 2026 19:49:21 +0200 Subject: [PATCH 2/2] Re-add wrapMode deleted by accident --- app/qml/gps/MMSelectionDrawer.qml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/qml/gps/MMSelectionDrawer.qml b/app/qml/gps/MMSelectionDrawer.qml index 1ec921fca..dbc280bd9 100644 --- a/app/qml/gps/MMSelectionDrawer.qml +++ b/app/qml/gps/MMSelectionDrawer.qml @@ -76,6 +76,7 @@ MMComponents.MMDrawer { color: __style.nightColor elide: Text.ElideRight + wrapMode: Text.NoWrap } MMComponents.MMText { @@ -85,6 +86,7 @@ MMComponents.MMDrawer { color: __style.nightColor elide: Text.ElideRight + wrapMode: Text.NoWrap } } }