[AC-5389] iOS - TitleControl not centered
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Needs more info |
Resolution Date | 2017-11-26T20:55:21.000+0000 |
Affected Version/s | Appcelerator Studio 4.5.0 |
Fix Version/s | n/a |
Components | Titanium SDK & CLI |
Labels | ios, ui |
Reporter | Rodolfo Perottoni |
Assignee | Shak Hossain |
Created | 2017-11-20T00:46:10.000+0000 |
Updated | 2017-11-26T20:55:21.000+0000 |
Description
After updating my app to 6.2.2.GA the *TitleControl* is not centered anymore. They stick to the right, overlapping with the *RightNavButton*.
What's funny is when my window open I can see the TitleControl centered, but as soon the "slide in" animation finishes the *TitleControl* moves to the right. This wasn't happening before 6.2.X
!Screen Shot 2017-11-20 at 10.36.44 am.png|thumbnail!
Code:
<Window>
<TitleControl>
<View layout="vertical" width="Ti.UI.SIZE" height="Ti.UI.SIZE">
<Label id="lblTitle" text="Smile Capture"/>
<Label id="lblSubtitle" text="Tap any problem tooth"/>
</View>
</TitleControl>
<RightNavButton>
<Button title="Clear" />
</RightNavButton>
</Window>
Note: Removing *width*, *height* and *layout* causes the view to stick to the middle, but then that's not the design I want. I need to vertically order my labels. I also tried changing my *Window* *TitleControl* on the *onOpen* event, but the same happens.
Attachments
File | Date | Size |
---|---|---|
Screen Shot 2017-11-20 at 10.36.44 am.png | 2017-11-20T00:36:54.000+0000 | 10036 |
Hello, Thanks for sharing with us. Can you please test using the latest SDK 6.3.0.GA and let us know how it goes. Best
This was a breaking change in iOS 11 and has been addresses as part of 6.3.0 (TIMOB-25300). Please confirm!
Hello [~rdperottoni],I just wanted to follow up here. Did you manage to follow the recommendations provided earlier? Let us know if you still experience any issue. We would be happy to assist you. Best Regards!