text styling

This commit is contained in:
Zacharias-Brohn
2026-02-05 22:17:37 +01:00
parent f48278ed95
commit 47677c20dc
+1
View File
@@ -89,6 +89,7 @@ CustomRect {
anchors.leftMargin: 7
sourceComponent: CustomText {
textFormat: Text.StyledText
text: root.modelData.body.replace(/\n/g, " ")
color: root.modelData.urgency === "critical" ? DynamicColors.palette.m3secondary : DynamicColors.palette.m3outline
elide: Text.ElideRight