[AC-822] Unable to change Back Button Title if the previous windows have a large title
GitHub Issue | n/a |
Type | Bug |
Priority | n/a |
Status | Resolved |
Resolution | Cannot Reproduce |
Resolution Date | 2015-09-17T06:32:21.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | n/a |
Labels | n/a |
Reporter | Fabio |
Assignee | Shak Hossain |
Created | 2014-09-30T15:52:55.000+0000 |
Updated | 2016-03-08T07:37:06.000+0000 |
Description
Steps to Reproduce
Create a navigation window and add a window with a large title for example 'THIS IS A LARGE TITLE'.
Open a new window and try to set the backButtonTitle to 'Voltar' (back in portuguese)
You will get 'Back' instead of 'Voltar'.
If you change the title of the first window to something shortener like 'Hello', everything works as should.
Actual Result
If the title of the first window is too bit we allways get 'Back' as the backButtonTitle
Expected Result
When we change the backButtonTitle we should get the text that we configured.
Comments
JSON Source
Hello, Tested this issue. It's working as expected by setting a big title on first window, and open a second widow from there, where the "backButtonTitle" to "volter". *Test Environments:* CLI Version :4.0.1 Titanium SDK Version:4.1.0.GA Appc Studio: Appcelerator Studio, build: 4.1.1.201507141126 Alloy: 1.7.3 iOS SDK: 8.1,iOS Simulator: iPhone 4s OS X Version: 10.10.1 *Test Steps:* 1.Create a Classic project. 2.On app.js create a navigation window and add a window with a large title for example 'THIS IS A LARGE TITLE'. 3.Open a new window and try to set the backButtonTitle to ‘Voltar’. 4.Run the project *Expected Result* When we change the backButtonTitle we should get the text that we configured. *Test Result* If the title of the first window is too bit we allways get 'Voltar' as the backButtonTitle. Check [snapshot 1 ](http://i60.tinypic.com/nd08pz.png) and [snapshot 2 ](http://i61.tinypic.com/2rmups9.png) as output. Thanks