Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-12007] iOS: UICompositeLayout - View is displayed at the top left corner of the screen momentarily before being displayed at center.

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionCannot Reproduce
Resolution Date2013-03-25T11:00:32.000+0000
Affected Version/sRelease 3.0.0
Fix Version/sRelease 3.0.2
ComponentsiOS
Labelsqe-ios100112
ReporterAnshu Mittal
Assigneejithinpv
Created2012-12-08T10:04:33.000+0000
Updated2017-03-21T22:01:03.000+0000

Description

View is displayed at the top left corner of the screen momentarily before being displayed at center. This is not regression since the issue occurs since 2.1.3. Steps to reproduce: 1. Create an app using the code below. 2. Launch app on iPad. Actual: The View is displayed at the top left corner of the screen momentarily before being displayed at center. Expected: The view should be displayed at the center only.

var win = Ti.UI.createWindow({
	backgroundColor:'black'
});

var view = Ti.UI.createView({
	backgroundColor:'white',
	width:2,
	height:2
});

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

Comments

  1. jithinpv 2013-03-25

    Issue does not reproduces Tested with Titanium Studio, build: 3.0.1.201212181159 Titanium SDK version: 3.1.0 (03/11/13 15:43 0c88429) Titanium SDK version: 3.0.2 (02/07/13 16:46 a4def81) iOS iPhone Simulator: iOS SDK version: 6.0
  2. jithinpv 2013-06-21

    Issue does not reproduces Tested with iOS SDK: 5.1 iOS iPad Simulator: 5.1 iOS iPhone Simulator: 5.1 Mac OS X Version 10.7.5 Titanium SDK version 3.1.1.v20130606121419 Titanium Studio, build: 3.0.1.201212181159
  3. Lee Morris 2017-03-21

    Closing ticket as the issue cannot be reproduced and due to the above comments.

JSON Source