[TIMOB-88] Support Stretchable Images in Buttons - Android
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-04-17T01:51:56.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 0.6.2 |
Components | iOS |
Labels | n/a |
Reporter | Nolan Wright |
Assignee | Don Thorp |
Created | 2011-04-15T02:23:32.000+0000 |
Updated | 2011-04-17T01:51:56.000+0000 |
Description
for example:
var button1 = Titanium.UI.createButton({
id:'button1',
backgroundImage:'blue.png',
backgroundSelectedImage:'blue_pressed.png',
backgroundFocusedImage:'blue_focused.png',
title:'Hello',
color:'#ffffff',
height:47,
});
where each .png is a small blue image that is stretched based on the width of the button control
No comments