summaryrefslogtreecommitdiff
path: root/modules/utilities/toasts/ToastItem.qml
diff options
context:
space:
mode:
Diffstat (limited to 'modules/utilities/toasts/ToastItem.qml')
-rw-r--r--modules/utilities/toasts/ToastItem.qml3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/utilities/toasts/ToastItem.qml b/modules/utilities/toasts/ToastItem.qml
index fa3aa18..481b831 100644
--- a/modules/utilities/toasts/ToastItem.qml
+++ b/modules/utilities/toasts/ToastItem.qml
@@ -107,10 +107,12 @@ StyledRect {
return Colours.palette.m3onSurface;
}
font.pointSize: Appearance.font.size.normal
+ elide: Text.ElideRight
}
StyledText {
Layout.fillWidth: true
+ textFormat: Text.StyledText
text: root.modelData.message
color: {
if (root.modelData.type === Toast.Success)
@@ -122,6 +124,7 @@ StyledRect {
return Colours.palette.m3onSurface;
}
opacity: 0.8
+ elide: Text.ElideRight
}
}
}