titleAttributesParams

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

Examples

Simple Example

var win = Titanium.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 = Titanium.UI.iOS.createNavigationWindow({window: win});
nav.open();
  • 3.2.0
  • 3.2.0

NOTE This is an abstract type. Any object meeting this description can be used where this type is used.

Defined By

Properties

titleAttributesParams
color : String

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

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

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

titleAttributesParams
font : Font

Font to use for the window title.

Font to use for the window title.

titleAttributesParams
shadow : shadowDict

Shadow color and offset for the window title.

Shadow color and offset for the window title.