[TIMOB-1501] View.height and View.Width does not match View.Size
|Fix Version/s||Release 3.0.0|
|Labels||android, dimensions, ios, ipad, iphone, module_views, qe-review, qe-testadded, size, view|
If a view is created using top, bottom, left and right without explicitely setting the height and width, then the values for height and width do not equal the values shown in the size property.
- Jean-Etienne LaVallee 2011-04-15
Not sure if this is related, but I've also noticed that changing the dimensions (height or width) of a view or label post-render doesn't seem to have an effect until after the view/label is either hidden/show or remove/add cycled.
Is this a known issue? Been trying to find it in both the premium support site and here.
I'm currently building on TiDev 1.2.1, TiSDK 1.4.1(e36b9d - 9/1/2010 nightly), iOS SDK 4.0.1, building as an iPad/iPhone universal target using the 'TARGETED_DEVICE_FAMILY=1,2' hack.
Could this be related to the issue behind ticket #775 which also exhibits the non-dynamic dimensions issue (zIndex changes are not respected at render time and require remove/add to refresh)?
- Junaid Younus 2012-08-15 Tested using a Samsung Galaxy S2 with TiSDK 2.2.0v20120814103312, works consistently with iOS. Issue is fixed, ticket closed.
- Satyam Sekhri 2012-09-10 The height,width value are consistent in Android and iOS Verified on: Titanium Studio: 126.96.36.199209071738 Titanium SDK: 2.2.0.v20120907162025 Android: Samsung Galaxy Note (v2.3.6), iOS simulator 5.1
- Shameer Jan 2013-11-07 Anvil testcase PR https://github.com/appcelerator/titanium_mobile/pull/4887