I’m still cannot get this to work without an error. I started with a clean slate just to work on the tabBar. Below is the tabBar code and then the error messages after that. I only used “required” commands or whatever…
local widget = require( "widget" ) local tabButtons = { { width = 50, height = 51, defaultFile = "tabHome.png", overFile = "tabHomeD.png", }, { width = 50, height = 51, defaultFile = "tabFavorites.png", overFile = "tabFavoritesD.png", } } local tabBar = widget.newTabBar { height = 70, buttons = tabButtons, backgroundFile = "leather.png", tabSelectedLeftFile = "slider-fill.png", tabSelectedMiddleFile = "slider-fill.png", tabSelectedRightFile = "slider-fill.png", tabSelectedFrameWidth = 60, tabSelectedFrameWidth = 60, }
-----------
ERROR: bad argument #5 to display.newImageRect(): height expected, but got number.
ERROR: bad argument #5 to display.newImageRect(): height expected, but got number.
ERROR: bad argument #5 to display.newImageRect(): height expected, but got number.
Runtime error
bad argument #2 to ‘newText’ (string expected, got nil)
stack traceback:
[C]: ?
[C]: in function ‘newText’
?: in function ‘?’
?: in function <?:580>
(tail call): ?
…53qq7ztjxw2q5kcnh0000gn/T/TemporaryItems/24/main.lua:34: in main chunk
I’m sorry for all the trouble, but I’m no pro at this and I can go no farther unless this is solved.