GitHub Issue | n/a |
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2012-12-21T05:46:08.000+0000 |
Affected Version/s | Release 1.7.0, Release 3.0.0 |
Fix Version/s | Release 1.7.2, Sprint 2012-17 API, Release 3.0.0 |
Components | MobileWeb |
Labels | MobileWeb, api, qe-testadded |
Reporter | Jon Alter |
Assignee | Bryan Hughes |
Created | 2011-09-13T04:18:20.000+0000 |
Updated | 2014-01-11T00:06:08.000+0000 |
backgroundImage should stretch over all view.
Current behavior: when property backgroundImage is defined in the object(view, label, button, etc) the image will not stretch to the height and width of the object.
Example: size of background image is 50x50, size of the view is 100x100. Result: image fills only 1/4 of view space.
Expected behavior: image should be stretched to the whole object.
How to reproduce: run KS_HTML5 >> Table View >> Table View(Layout 2) >> look at the images of photo and calendar in the rows. They should be compressed to the view size.
Reopening as a regression:
Worked in 2.2.0.v20120710122120 Broken in 2.2.0.v20120821095711 Using Chrome Version 21.0.1180.79Steps to repro:
1. copy the attached image into your project 2. Run the code below 3. notice that the image is not stretched over the whole view as it should beResolved by: https://github.com/appcelerator/titanium_mobile/pull/2793
Verified fix on: Titanium studio : 2.1.1.201207271312 SDK version : 2.2.0.v20120830141234 Chrome 21.0.xx Firefox 15 Safari 6.0 Android 4.0.4 default browser,chrome 18.0.xx ,firefox 15.0 Iphone 5.1.1 mobile safari