Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-23] API - Titanium.UI.createButtonBar

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2011-04-17T01:50:09.000+0000
Affected Version/sn/a
Fix Version/sGA - M1
ComponentsiOS
Labelsn/a
ReporterNolan Wright
AssigneeBlain Hamon
Created2011-04-15T02:22:39.000+0000
Updated2011-04-17T01:50:09.000+0000

Description

Description

The purpose of this API is to create a button bar native control.

Example


var buttonBar = Titanium.UI.createButtonBar({id:'foo', labels:[button1, button2], color:'#336699'});

Note: a buttonBar can be inserted on the toolbar or navbar like a normal button

API Arguments

id : optional. HTML element id for where the button bar will be placed if placed in webview

labels : array of button title strings

images : array of button images

color : hex web color for buttons (e.g., #336699)

backgroundColor : optional. background color of button

Comments

  1. Jeff Haynie 2011-04-15

    resolved in 0.5

JSON Source