From 7fe12e769e8a5555202b6235723704eb5f1ffaca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=8A=B2=E9=B9=8F?= Date: Tue, 8 Jun 2021 20:23:58 +0800 Subject: [PATCH] add default elide --- doric-Qt/example/doric/resources/text.qml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doric-Qt/example/doric/resources/text.qml b/doric-Qt/example/doric/resources/text.qml index cda19a1a..a7914340 100644 --- a/doric-Qt/example/doric/resources/text.qml +++ b/doric-Qt/example/doric/resources/text.qml @@ -29,6 +29,8 @@ Text { property var fontSource: "" + elide: Text.ElideRight + onFontSourceChanged: { webFont.source = fontSource font.family = webFont.name