Titanium JIRA Archive
Appcelerator Community (AC)

[AC-835] [Alloy 1.4-rc] TabbedBar disappears when inside Toolbar

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionNot Our Bug
Resolution Date2014-06-17T07:19:39.000+0000
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
Labelsn/a
ReporterTiman Rebel
AssigneeShuo Liang
Created2014-06-16T09:58:59.000+0000
Updated2016-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'
}

Comments

  1. Shuo Liang 2014-06-17

    Hi, You need use toolbar like this structure,
       <Toolbar>
            <Items>
                 <TabbedBar />
            </Items>
       </Toolbar>
       
    otherwise, the items inside toolbar will not be recognised. Regards, Shuo
  2. Timan Rebel 2014-06-17

    @Shuo I feel so stupid.. Sorry for opening this ticket.
  3. Shuo Liang 2014-06-17

    That is quite all right. You are always welcome.

JSON Source