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();
This ticket is a duplicate of TC-424. I was asked to reopen that ticket but can't find a way to do so. (Do community members have permission to reopen tickets? I couldn't find the button.)
Issue reproduces Tested with Titanium Studio, build: 3.0.1.201212181159 Titanium SDK version: 3.1.0 Titanium SDK version: 3.0.2 iOS iPad Simulator: iOS SDK version: 6.0
Duplicate of TIMOB-7704.