Titanium.UI.titleAttributesParams
Dictionary of options for the Titanium.UI.Window.titleAttributes property.
Since: 12.3.0, 3.2.0, 3.2.0, 9.2.0 · Platforms: android, iphone, ipad, macos
Properties #
color#
Type: String, Titanium.UI.Color
Color of the window title, as a color name or hex triplet.
For information about color values, see the "Colors" section of Titanium.UI.
Examples #
Simple Example
var win = Ti.UI.createWindow({
title: 'Title',
barColor: 'yellow',
titleAttributes: {
color:'blue',
font: {fontFamily:'Snell Roundhand', fontSize:36},
shadow:{color:'gray', offset:{width:1,height:1}}
}
});
var nav = Ti.UI.createNavigationWindow({window: win});
nav.open();