[AC-835] [Alloy 1.4-rc] TabbedBar disappears when inside Toolbar
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Not Our Bug |
Resolution Date | 2014-06-17T07:19:39.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | n/a |
Labels | n/a |
Reporter | Timan Rebel |
Assignee | Shuo Liang |
Created | 2014-06-16T09:58:59.000+0000 |
Updated | 2016-03-08T07:37:07.000+0000 |
Description
After upgrading to Alloy 1.4-rc my TabbedBar inside a Toolbar disappeared and I can not get it back.
Alloy 1.4-rc:
!https://dl.dropboxusercontent.com/u/1849335/AppcJira/Screenshot%202014-06-16%2011.38.52.png!
Alloy 1.3.1
!https://dl.dropboxusercontent.com/u/1849335/AppcJira/Screenshot%202014-06-16%2011.36.33.png!
The code:
<Alloy>
<Window>
<Toolbar id="toolbar" class="toolbarTop" platform="ios">
<TabbedBar id="tabbedBar" onClick="onSwitchFeed" />
</Toolbar>
</Window>
</Alloy>
"Window[platform=ios]": {
titleImage: '/images/generic/logoMenuBar.png'
}
"Window[platform=android]": {
title: Ti.App.name
}
"#toolbar[platform=ios]": {
height: 40
}
"#tabbedBar[platform=ios]": {
labels: [L('Newest'), L('Popular'), L('RecentlyWatched')],
index: 0,
backgroundColor: '#fff'
}
Hi, You need use toolbar like this structure,
otherwise, the items inside toolbar will not be recognised. Regards, Shuo
@Shuo I feel so stupid.. Sorry for opening this ticket.
That is quite all right. You are always welcome.