[TIMOB-5788] iOS: Show backgroundImage in the toolbar while the toolbar is opaque
GitHub Issue | n/a |
---|---|
Type | New Feature |
Priority | Low |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2015-01-27T18:24:06.000+0000 |
Affected Version/s | Release 1.7.2 |
Fix Version/s | n/a |
Components | iOS |
Labels | tbs-1.9.0 |
Reporter | Qing Gao |
Assignee | Vishal Duggal |
Created | 2011-10-17T14:43:49.000+0000 |
Updated | 2017-03-13T20:20:54.000+0000 |
Description
The backgroundimage property of Titanium.UI.Toolbar is not shown when the Toolbar is set to opaque.
Repro Steps
1.put the attached png files into the images folder 2.run the example code below.
win = Ti.UI.createWindow({
backgroundColor : '#fff',
backgroundImage : 'images/background.png'
});
verticalOff = 0;
var mkToolBar = function(title) {
var bar = Titanium.UI.createToolbar({
items : [Ti.UI.createButton({
title : 'test '+ title,
width : 50,
style: Ti.UI.iPhone.SystemButtonStyle.BORDERED
})],
top : verticalOff
});
verticalOff += bar.height + 2;
return bar;
}
tb = mkToolBar('bg');
tb.backgroundImage = 'images/bar_bg.png'
win.add(tb);
win.open();
Associated Helpdesk Ticket
http://appc.me/c/APP-658713Attachments
File | Date | Size |
---|---|---|
background.png | 2011-10-17T14:51:50.000+0000 | 75415 |
bar_bg.png | 2011-10-17T14:43:49.000+0000 | 34180 |
Resolved as part of TIMOB-16503
Closing ticket as fixed.