diff options
author | Tor Lillqvist <tml@collabora.com> | 2013-11-04 01:00:31 +0200 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2013-11-15 16:52:05 +0100 |
commit | 19fb3b39984ebe1665e42cc14bd1b0f5c3659c03 (patch) | |
tree | dba9aa87465edb6b6d1741cba37ad82402aef11d /ios | |
parent | 69f4c14fb9a192a3424b917e7a280abb1a00c075 (diff) |
Keep tile top-left corner fixed, don't center it
Makes it easier to see what happens when the parameters are tweaked.
Change-Id: Ia69c0de74ccf3fcc8a5095a7cc62c6b4185cf9d6
Diffstat (limited to 'ios')
-rw-r--r-- | ios/shared/ios_sharedlo/objective_c/view_controllers/testing_tiles/MLOTestingTile.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ios/shared/ios_sharedlo/objective_c/view_controllers/testing_tiles/MLOTestingTile.m b/ios/shared/ios_sharedlo/objective_c/view_controllers/testing_tiles/MLOTestingTile.m index f8fcadb4a4f8..1b25648b2c82 100644 --- a/ios/shared/ios_sharedlo/objective_c/view_controllers/testing_tiles/MLOTestingTile.m +++ b/ios/shared/ios_sharedlo/objective_c/view_controllers/testing_tiles/MLOTestingTile.m @@ -31,8 +31,8 @@ } +(CGRect)resized:(MLOAppRoleTileTester *)tester{ - return CGRectMake( (tester.renderer.view.frame.size.width -tester.params.contextWidth)/2.0f, - (tester.renderer.view.frame.size.height -tester.params.contextHeight)/2.0f, + return CGRectMake( 10, + 10, tester.params.contextWidth, tester.params.contextHeight); } |