[TIMOB-12724] Blackberry : Textfield are not displaying if width & height are set to auto
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2013-07-23T08:28:35.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 3.1.0, 2013 Sprint 04 BB, 2013 Sprint 04 |
Components | BlackBerry |
Labels | module_textfield, qe-testadded, sdk-bb |
Reporter | Lokesh Choudhary |
Assignee | Russell McMahon |
Created | 2013-02-13T19:24:36.000+0000 |
Updated | 2014-06-19T12:43:42.000+0000 |
Description
Description:
1.Run the code snippet below:
var win1 = Titanium.UI.createWindow({
backgroundColor:'#000'
});
var usernameField = Ti.UI.createTextField({
width:'auto',
height:'auto',
hintText: 'Username',
top: 10,
left: 10
});
win1.add(usernameField);
win1.open()
Actual result:
1.You will see that the textfield is not displayed
2.Setting the width & height to specific dimensions displays the textfield
Expected Result:
The text field should be displayed
Verified the fix & now can see the textfield.Thus closing the issue. Environment: Ti Studio : 3.1.0.201302101654 Ti BB SDK : 3.1.0.v20130213122031 Mac OSX : 10.8.2 win 7 Win 8 BB simulator : 10.0.9.386 Dev alpha 10 device
Reopening just to update label.
Updated label. Closing as fixed. Verified with environment: Studio: 3.1.2.201307191853 Titanium SDK:3.1.2.v20130718094558 acs:1.0.3 alloy:1.1.3 npm:1.3.2 titanium:3.1.1 titanium-code-processor:1.0.1 OS: OSX 10.8 Device:Blackberry-Z10(v 10.0.10.261) blackberry SDK: 10.1.0.1020 Textfield getting displayed with width and height auto.