summaryrefslogtreecommitdiffstats
path: root/examples/declarative/fonts
diff options
context:
space:
mode:
Diffstat (limited to 'examples/declarative/fonts')
-rw-r--r--examples/declarative/fonts/fonts.qml10
1 files changed, 5 insertions, 5 deletions
diff --git a/examples/declarative/fonts/fonts.qml b/examples/declarative/fonts/fonts.qml
index 4029f8b..e68bdb6 100644
--- a/examples/declarative/fonts/fonts.qml
+++ b/examples/declarative/fonts/fonts.qml
@@ -22,21 +22,21 @@ Rectangle {
Text {
text: myText
color: palette.windowText
- width: parent.width; elide: "ElideRight"
+ width: parent.width; elide: Text.ElideRight
font.family: "Times"
font.pointSize: 32
}
Text {
text: myText
color: palette.windowText
- width: parent.width; elide: "ElideRight"
+ width: parent.width; elide: Text.ElideRight
font.family: fixedFont.name
font.pointSize: 32
}
Text {
text: myText
color: palette.windowText
- width: parent.width; elide: "ElideRight"
+ width: parent.width; elide: Text.ElideRight
font.family: localFont.name
font.pointSize: 32
}
@@ -47,7 +47,7 @@ Rectangle {
else if (webFont.status == 3) "Error loading font"
}
color: palette.windowText
- width: parent.width; elide: "ElideRight"
+ width: parent.width; elide: Text.ElideRight
font.family: webFont.name
font.pointSize: 32
}
@@ -58,7 +58,7 @@ Rectangle {
else if (webFont2.status == 3) "Error loading font"
}
color: palette.windowText
- width: parent.width; elide: "ElideRight"
+ width: parent.width; elide: Text.ElideRight
font.family: webFont2.name
font.pointSize: 32
}