summaryrefslogtreecommitdiffstats
path: root/examples/declarative/loader
diff options
context:
space:
mode:
authorMichael Brasser <michael.brasser@nokia.com>2009-08-14 02:56:13 (GMT)
committerMichael Brasser <michael.brasser@nokia.com>2009-08-14 02:56:13 (GMT)
commitc7aef9c3a3a9c4b2fcebb9f55ae11fc0b590a9ed (patch)
treee2618da2b6ce8c4d3ceeecfe66d7fb133068be01 /examples/declarative/loader
parentda56f50eb640823e2d48c1308c09626a428a50f5 (diff)
downloadQt-c7aef9c3a3a9c4b2fcebb9f55ae11fc0b590a9ed.zip
Qt-c7aef9c3a3a9c4b2fcebb9f55ae11fc0b590a9ed.tar.gz
Qt-c7aef9c3a3a9c4b2fcebb9f55ae11fc0b590a9ed.tar.bz2
Get rid of QmlFont and use the QFont value type instead.
Diffstat (limited to 'examples/declarative/loader')
-rw-r--r--examples/declarative/loader/Browser.qml2
-rw-r--r--examples/declarative/loader/Button.qml2
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/declarative/loader/Browser.qml b/examples/declarative/loader/Browser.qml
index 96c2a76..1c849b8 100644
--- a/examples/declarative/loader/Browser.qml
+++ b/examples/declarative/loader/Browser.qml
@@ -36,7 +36,7 @@ Rect {
id: NameText
anchors.fill: parent; vAlign: "AlignVCenter"
text: fileName; anchors.leftMargin: 32
- font.size: 10
+ font.pointSize: 10
color: activePalette.windowText
}
MouseRegion {
diff --git a/examples/declarative/loader/Button.qml b/examples/declarative/loader/Button.qml
index 999e180..391a800 100644
--- a/examples/declarative/loader/Button.qml
+++ b/examples/declarative/loader/Button.qml
@@ -12,5 +12,5 @@ Rect {
radius: 4
color: "grey"
MouseRegion { anchors.fill: parent; onClicked: Container.clicked() }
- Text { id: Text; anchors.centerIn:parent; font.size: 10; text: parent.text }
+ Text { id: Text; anchors.centerIn:parent; font.pointSize: 10; text: parent.text }
}