| GitHub Issue | n/a |
| Type | Bug |
| Priority | Medium |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2013-04-19T01:02:44.000+0000 |
| Affected Version/s | Release 2.1.4 |
| Fix Version/s | 2013 Sprint 08 Core, 2013 Sprint 08, Release 3.1.1, Release 3.2.0 |
| Components | Android |
| Labels | core, module_textfield, qe-closed-3.1.1, qe-testadded |
| Reporter | Anirudh Nagesh |
| Assignee | Allen Yeung |
| Created | 2012-12-05T19:03:49.000+0000 |
| Updated | 2013-10-03T09:11:15.000+0000 |
Run the attached sample app.js and see the textfield does not respect Ti.UI.Fill and spills off to the next line.
On iOS, textfield is fine and is expected behavior.
https://github.com/appcelerator/titanium_mobile/pull/4045
Backport to 3_1_X: https://github.com/appcelerator/titanium_mobile/pull/4206
Verified as fixed. Appcelerator Studio 3.1.1.201305292130 Titanium SDK 3.1.1.v20130529114554 Alloy 1.1.3-alpha Titanium-Code-Processor 1.1.3-alpha3 Alloy sample test:
Closing.".container":{ backgroundColor:'white' } "#fieldWrapper":{ top: 0, left: 0, width: '100%', height: Ti.UI.SIZE, backgroundColor: '#ff0', layout: 'horizontal' } "#Label":{ text: 'Test text field', height: Ti.UI.SIZE, width: Ti.UI.SIZE, color: '#4b4b4b', left: '3%', backgroundColor: '#f0f' } "#Spacer":{ width: 10, height: 10, backgroundColor: '#0f0' } "#textfield":{ color: '#212e56', width: Ti.UI.FILL, right: '3%', textAlign: 'right', // text:'Label Text', backgroundImage: 'none', backgroundColor: '#00F', hintText: 'hint text' }