Skip to content
Titanium SDK
Version12.6.0

You are reading 12.6.0. See this page in 13.4.1.

titleAttributesParams

pseudoAndroidiPhoneiPadmacOSsince Android 12.3.0, iPhone 3.2.0, iPad 3.2.0, macOS 9.2.0

Dictionary of options for the Titanium.UI.Window.titleAttributes property.

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();

Properties 3

color

String | Titanium.UI.Colorsince Android 12.3.0, iPhone 3.2.0, iPad 3.2.0, macOS 9.2.0

Color of the window title, as a color name or hex triplet.

For information about color values, see the "Colors" section of Titanium.UI.

font

FontiPhoneiPadmacOS

Font to use for the window title.