Problem
When I add a search bar to an iPad popover's title bar, the search bar does not match the popover's style. If I set the search bar's barColor to "transparent", the barColor becomes black instead of transparent.
Test case
Ti.UI.setBackgroundColor("#FFF");
var window = Ti.UI.createWindow();
var button = Ti.UI.createButton({
height: 40,
title: "Show popover",
width: 200
});
button.addEventListener("click", function() {
var popover = Ti.UI.iPad.createPopover({
height: 500,
width: 200
});
var searchBar = Ti.UI.createSearchBar({
// barColor: "transparent",
height: 30,
width: 130
});
popover.setLeftNavButton(searchBar);
popover.show({
view: button
});
});
window.add(button);
window.open();
Christian Thank you for raising this ticket. Please note the minor changes I made. Would you please provide the the iOS version you tested? Once you have completed the information, reopen the ticket and I will escalate it. Cheers
I provided the missing info but can't find a way to reopen the ticket.
Sorry for the delay, Christian. Moving across now.
issue reproduces Tested with Titanium Studio, build: 3.0.1.201212181159 Titanium SDK version: 3.1.0 iOS iPhone Simulator: iOS SDK version: 6.0