summaryrefslogtreecommitdiffstats
path: root/examples/declarative/aspectratio/scale_to_fit.qml
diff options
context:
space:
mode:
authorYann Bodson <yann.bodson@nokia.com>2009-10-06 04:05:40 (GMT)
committerYann Bodson <yann.bodson@nokia.com>2009-10-06 04:05:40 (GMT)
commit43199af242918b3c77bb47bdcc3ec60f8236b0d3 (patch)
tree94293b06614afbd3a2a89004204a23e7228a3d51 /examples/declarative/aspectratio/scale_to_fit.qml
parentb9663faad39ae02b7dbee9f2cea7dce7d25894f8 (diff)
downloadQt-43199af242918b3c77bb47bdcc3ec60f8236b0d3.zip
Qt-43199af242918b3c77bb47bdcc3ec60f8236b0d3.tar.gz
Qt-43199af242918b3c77bb47bdcc3ec60f8236b0d3.tar.bz2
lowercase ids
Diffstat (limited to 'examples/declarative/aspectratio/scale_to_fit.qml')
-rw-r--r--examples/declarative/aspectratio/scale_to_fit.qml6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/declarative/aspectratio/scale_to_fit.qml b/examples/declarative/aspectratio/scale_to_fit.qml
index 7450ea4..c4efc29 100644
--- a/examples/declarative/aspectratio/scale_to_fit.qml
+++ b/examples/declarative/aspectratio/scale_to_fit.qml
@@ -5,13 +5,13 @@ import Qt 4.6
//
Rectangle {
// default size: whole image, unscaled
- width: Face.width
- height: Face.height
+ width: face.width
+ height: face.height
color: "gray"
clip: true
Image {
- id: Face
+ id: face
source: "pics/face.png"
x: (parent.width-width*scale)/2
y: (parent.height-height*scale)/2