Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-2052] iOS: titleControl snaps to far left initially

GitHub Issuen/a
TypeBug
PriorityTrivial
StatusClosed
ResolutionCannot Reproduce
Resolution Date2012-07-20T14:12:04.000+0000
Affected Version/sRelease 1.6.0
Fix Version/sn/a
ComponentsiOS
Labelsn/a
ReporterJeroen K.
AssigneeNeeraj Gupta
Created2011-04-15T03:09:08.000+0000
Updated2017-03-09T22:47:03.000+0000

Description

Quoting Bart Lewis from this http://developer.appcelerator.com/question/55041/titlecontrol-snaps-to-far-left-initially" title="Q&A topic">Q&A Topic

In a window with the following code, the titleControl should be in the middle of the title bar.

var refineButton = Ti.UI.createButton({title:'Refine', height:30, width:60});
Ti.UI.currentWindow.titleControl = refineButton;

When the window is first opened (it is a child window within a tabbed group via Ti.UI.currentTab.open), the refineButton shown > above snaps to the left as the back button animates in. After the animation is complete, the titleControl element snaps to the > center where it should be.

Comments

  1. Neeraj Gupta 2012-07-21

    Does not reproduce with release 2.1.0.
  2. Lee Morris 2017-03-09

    Closing ticket as the issue cannot be reproduced.

JSON Source