[TIMOB-23] API - Titanium.UI.createButtonBar
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Medium |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2011-04-17T01:50:09.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | GA - M1 |
| Components | iOS |
| Labels | n/a |
| Reporter | Nolan Wright |
| Assignee | Blain Hamon |
| Created | 2011-04-15T02:22:39.000+0000 |
| Updated | 2011-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
resolved in 0.5