Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-4385] Android: zIndex default value is undefined

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionInvalid
Resolution Date2013-05-28T20:23:18.000+0000
Affected Version/sRelease 1.7.0
Fix Version/sn/a
Componentsn/a
Labelsdefault, layout, tbs-1.8.0, ui, undefined, zindex
ReporterNatalie Huynh
AssigneeIngo Muschenetz
Created2011-06-13T16:30:17.000+0000
Updated2017-03-21T21:10:35.000+0000

Description

*Steps to reproduce* Run test case below, or 1105 from http://wiki.appcelerator.org/display/tp/UI+Composite+Layout+Behavior+Test+Case *Actual result* zIndex Value: undefined *Expected result* zIndex Value should be 0 *Test case*
var win = Ti.UI.createWindow();
win.backgroundColor = 'white';

var view = Ti.UI.createView();

var label = Ti.UI.createLabel({
	text : 'zIndex Value: ' + view.zIndex + ' Pass if it is undefined',
	top : 20,
	left : 10,
	height : Ti.UI.SIZE,
	width : Ti.UI.SIZE,
	color : 'black'
});

win.add(view);
win.add(label);
win.open();

Comments

  1. Daniel Sefton 2013-05-28

    The test states that returning "undefined" is expected behavior. Resolving as invalid.
  2. Lee Morris 2017-03-21

    Closing ticket as invalid.

JSON Source