Details
-
Type:
Bug
-
Status: Closed
-
Priority:
High
-
Resolution: Invalid
-
Affects Version/s: Release 3.1.3, Release 3.2.1
-
Fix Version/s: 2013 Sprint 21, 2013 Sprint 21 API, Release 3.1.4, Release 3.2.0, Release 3.3.0
-
Component/s: iOS
-
Labels:
-
Environment:
iOS 7 (any sim), Xcode 5
Description
Testing Instruction
1. Paste the following code in app.js
NOTE:Change the link of the backgroundImage to a valid path.
var rootwin = Ti.UI.createWindow({
|
title:'Search',
|
backgroundColor:'white'
|
});
|
var win = Ti.UI.createWindow({
|
title:'Search',
|
backgroundColor:'white'
|
});
|
|
var nav = Ti.UI.iPhone.createNavigationGroup({
|
window:win
|
});
|
|
var search = Titanium.UI.createSearchBar({
|
backgroundImage:'images/chip.jpg',
|
showCancel:true,
|
height:43,
|
top:0
|
});
|
|
win.setTitleControl(search);
|
|
// dynamically set value
|
search.value = 'foo';
|
|
rootwin.add(nav);
|
rootwin.open();
|
|
2. run code
Expected Behavior.
Search Bar should show up with backgroundImage properly shown behind the text field.
Actual Behavior.
Search Bar backgroundImage shows on top of text field of search bar.
Attachments
Issue Links
- is duplicated by
-
AC-2233 SearchBar shows the BACKGROUND image in the FOREGROUND
- Closed