It looks like there is a bug in the tab bar widget with graphics 2.0
If someone has a minute, can they confirm that if a “left” is set in the setup, that it screws up all the touches (i.e. all the touch areas don’t seem to move with the visual tab bar). You tap on tab1 and tab2 is selected etc
Dropping this into the TabBar demo project seems to break it:
local demoTabs = widget.newTabBar
{
left = 50,
top = display.contentHeight - 50,
width = display.contentWidth,
backgroundFile = “assets/tabbar.png”,
tabSelectedLeftFile = “assets/tabBar_tabSelectedLeft.png”,
tabSelectedMiddleFile = “assets/tabBar_tabSelectedMiddle.png”,
tabSelectedRightFile = “assets/tabBar_tabSelectedRight.png”,
tabSelectedFrameWidth = 20,
tabSelectedFrameHeight = 52,
buttons = tabButtons
}
Thanks,
David