Closed m1ga closed 3 months ago
fixes https://github.com/tidev/titanium-sdk/issues/14087
tintColor and activeTintColor are not working in a TabbedBar:
tintColor
activeTintColor
var win = Ti.UI.createWindow(); var bb1 = Ti.UI.createTabbedBar({ top: 10, width : Ti.UI.FILL, labels: [{label:"test", image:"appicon.png"}, {label:"test", image:"appicon.png"}, {label:"test", image:"appicon.png"}] }); win.add(bb1); var bb2 = Ti.UI.createTabbedBar({ width : Ti.UI.FILL, tintColor : '#D4AF37', activeTintColor : '#f00', labels: [{label:"test", image:"appicon.png"}, {label:"test", image:"appicon.png"}, {label:"test", image:"appicon.png"}] }); win.add(bb2); var btn = Ti.UI.createButton({title:"select", bottom: 10}); win.add(btn); btn.addEventListener("click", function(e){ bb1.index = 1; bb2.index = 1; }) win.open();
12.4.0:
After PR:
fixes https://github.com/tidev/titanium-sdk/issues/14087
tintColor
andactiveTintColor
are not working in a TabbedBar:12.4.0:
After PR: