开发者

Appcelerator - barImage hides the title text

开发者 https://www.devze.com 2023-04-03 15:42 出处:网络
When I create a new window in Appcelerator I need to change the background image. This is done by setting “barImage”. The window itself is a child of a navigation group and has its own children. Whe

When I create a new window in Appcelerator I need to change the background image. This is done by setting “barImage”. The window itself is a child of a navigation group and has its own children. When I use the “barImage” parameter it hides the nav bar title text on the initial load of the window. If I navigate to its child window and then back the title text is displayed in the nav bar.

var sectionWindow  = Titanium.UI.createWindow({
    backgroundColor:'#fff',
    fu开发者_JAVA百科llscreen:false,
    title:’My Sub Page',
    modal:true,
    barImage:'images/nav_bar.png'
});

How can I get the title text to consistently display?


I believe there are known issues with the barImage in the 1.7.2 release, please check the 1.8x CI builds where the issue has been addressed

0

精彩评论

暂无评论...
验证码 换一张
取 消