开发者

iPhone : How to change titlebar text/font colour in Appcelerator Titanium

I'm currently building an app in Appcelerator Titanium 1.2.1.

I've been able to set the apps' titlebar/navbar colour using the following:

var tabGroup = Titanium.UI.createTabGroup(开发者_运维百科
{
    barColor:'#fff'
});

Problem is, with a white titlebar, the text becomes hard to read. Is it possible to change the text colour from white to another colour? (say 'black' for contrast)?


posted solution below, basically create a label and set the window title with the control

http://blog.clearlyinnovative.com/post/1484840648/titanium-appcelerator-quickie-change-text-style-in

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜