text styling
This commit is contained in:
@@ -89,6 +89,7 @@ CustomRect {
|
|||||||
anchors.leftMargin: 7
|
anchors.leftMargin: 7
|
||||||
|
|
||||||
sourceComponent: CustomText {
|
sourceComponent: CustomText {
|
||||||
|
textFormat: Text.StyledText
|
||||||
text: root.modelData.body.replace(/\n/g, " ")
|
text: root.modelData.body.replace(/\n/g, " ")
|
||||||
color: root.modelData.urgency === "critical" ? DynamicColors.palette.m3secondary : DynamicColors.palette.m3outline
|
color: root.modelData.urgency === "critical" ? DynamicColors.palette.m3secondary : DynamicColors.palette.m3outline
|
||||||
elide: Text.ElideRight
|
elide: Text.ElideRight
|
||||||
|
|||||||
Reference in New Issue
Block a user