summaryrefslogtreecommitdiffstats
path: root/examples/animation
diff options
context:
space:
mode:
authorLeonardo Sobral Cunha <leo.cunha@nokia.com>2009-09-01 16:27:57 +0200
committerLeonardo Sobral Cunha <leo.cunha@nokia.com>2009-09-01 16:31:47 +0200
commit3418320aa5cad4a982f6278be1fbe8ce66c1558f (patch)
tree4dba53c234658861b8f97f17e0cfd8546f4b676f /examples/animation
parent9f59fb741183e1235b2a385b0e688e4a7f4b15c9 (diff)
Fixes examples/animation/states, supposedly hidden element was appearing
Reviewed-by: trustme
Diffstat (limited to 'examples/animation')
-rw-r--r--examples/animation/states/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/animation/states/main.cpp b/examples/animation/states/main.cpp
index a78548cffb..96440499ca 100644
--- a/examples/animation/states/main.cpp
+++ b/examples/animation/states/main.cpp
@@ -179,8 +179,8 @@ int main(int argc, char *argv[])
// State 3
state3->assignProperty(button, "text", "Switch to state 1");
- state3->assignProperty(p1, "geometry", QRectF(5, 5, 64, 64));
- state3->assignProperty(p2, "geometry", QRectF(5, 5 + 64 + 5, 64, 64));
+ state3->assignProperty(p1, "geometry", QRectF(0, 5, 64, 64));
+ state3->assignProperty(p2, "geometry", QRectF(0, 5 + 64 + 5, 64, 64));
state3->assignProperty(p3, "geometry", QRectF(5, 5 + (64 + 5) + 64, 64, 64));
state3->assignProperty(p4, "geometry", QRectF(5 + 64 + 5, 5, 64, 64));
state3->assignProperty(p5, "geometry", QRectF(5 + 64 + 5, 5 + 64 + 5, 64, 64));