Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-12724] Blackberry : Textfield are not displaying if width & height are set to auto

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2013-07-23T08:28:35.000+0000
Affected Version/sn/a
Fix Version/sRelease 3.1.0, 2013 Sprint 04 BB, 2013 Sprint 04
ComponentsBlackBerry
Labelsmodule_textfield, qe-testadded, sdk-bb
ReporterLokesh Choudhary
AssigneeRussell McMahon
Created2013-02-13T19:24:36.000+0000
Updated2014-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

Comments

  1. Lokesh Choudhary 2013-02-13

    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
  2. Priya Agarwal 2013-07-23

    Reopening just to update label.
  3. Priya Agarwal 2013-07-23

    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.

JSON Source