My tab bar is giving some problems . When I enter the height on the tab bar it doesn’t change at all . It stays the same at the bottom of the screen . When I look at it on my phone, it’s a little it above the screen leaving a gap between the bottom of the screen and the tab bar . I have tried changing top = display.contentHeight +30, but that didn’t work . I tried all kinds of number and I tried the - and + . The code I just put above is the last method I tried . Please help .
local tabButtons = { { label = "#News Feed", width = 52, height = 10, id = "newsfeed", size = 16, onPress = function() composer.gotoScene("newsfeed"); end, selected = true }, { label = "#Profile", size = 16, id = "profile", onPress = function() composer.gotoScene("profile"); end, selected = true } } -- Create the widget local tabBar = widget.newTabBar( { top = display.contentHeight +30, width = display.contentWidth, buttons = tabButtons, } ) screenGroup:insert(tabBar)