[TIMOB-1176] Percentage widths and heights don't work
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-04-18T23:10:27.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 1.6.0 M04 |
Components | Android |
Labels | android, defect, enterprise, release-1.6.0, rplist |
Reporter | Paul Dowsett |
Assignee | Don Thorp |
Created | 2011-04-15T02:45:50.000+0000 |
Updated | 2011-04-18T23:10:27.000+0000 |
Description
On the off chance that a fix for this can be included in the 1.4 release, and as it's sucha blocker for me, I raise it here.
http://developer.appcelerator.com/question/36791/percentage-width-and-height-dont-work"> http://developer.appcelerator.com/question/36791/percentage-width-a...
Please include an example. 1.4 drops shortly so it is doubtful that this will be fixed before then, but unless something is deemed more critical I will try and get it done before release.
This isn't an iPhone bug. Our automatic assumptions that bugs without additional information are for iPhone is kind of goofy; checking the developer center showed that this is actually an android issue.
Thanks for seeing it.
Do you need me to provide an example? Even the simplest code will demonstrate that any percentages do not work for android currently (eg, create a text field with width of 75% and add it to the window).
Enable dimension support.
How is this prioritized as low? It's a huge issue if you're trying to make an Android app, as it's the only way to handle making a UI, since the screen sizes will NEVER be consistent.
I have not gone through this list and prioritized any of the things in it. Including this ticket. I have not decided what low, medium, or high mean in our work queue yet either. Consider this a big bag of stuff that will get worked on at some point.
It is also possible to work around the issue in your app using the displayCaps API if you need it before we get it implemented.
(from [9b1ab0b84ad351335693f5976076c28e585c5799]) added a smoketest for new android layout dimensions and center [#1176 state:fixed-in-qa] [#1125 state:fixed-in-qa]
https://github.com/appcelerator/titanium_mobile/commit/9b1ab0b84ad351335693f5976076c28e585c5799"> https://github.com/appcelerator/titanium_mobile/commit/9b1ab0b84ad3...
(from [933e9ee650d43338af87d65ddca943bde4cde3cc]) initial android impl of dimensions and "center". [#1125] [#1176] https://github.com/appcelerator/titanium_mobile/commit/933e9ee650d43338af87d65ddca943bde4cde3cc"> https://github.com/appcelerator/titanium_mobile/commit/933e9ee650d4...
(from [8e8d130a15285a2af030f19e888ddae4e84a81ff]) [#1176 state:fixed-in-qa] updated to remove comment that left, right, top, bottom, height, width as percentage was iOS only https://github.com/appcelerator/titanium_mobile/commit/8e8d130a15285a2af030f19e888ddae4e84a81ff"> https://github.com/appcelerator/titanium_mobile/commit/8e8d130a1528...
closing against [INFO] Titanium SDK version: 1.6.0 (01/10/11 08:25 3452f06) using a G1 (1.6) G2 (2.2) sim 2.1 using smoke test.