add default elide

This commit is contained in:
王劲鹏
2021-06-08 20:23:58 +08:00
committed by osborn
parent ac171af55c
commit 7fe12e769e

View File

@@ -29,6 +29,8 @@ Text {
property var fontSource: ""
elide: Text.ElideRight
onFontSourceChanged: {
webFont.source = fontSource
font.family = webFont.name