How to change the color of my navigation bar? Im having an error everytime i assign my variable to setfillcolor using variable navBar. Shall i add the color in the options table?
options = { title = "Easy - Addition", } local navBar = utils.createNavBar(options) local top = navBar.y + navBar.height local height = \_H - top
How do you create navigation bar?
I want to change the color of my navBar for ex. navBar:setFillColor(0,1,1)
rob
February 6, 2017, 6:28pm
4
Are you using the navBar from this tutorial?
https://coronalabs.com/blog/2013/12/31/tutorial-extending-widgets-with-a-navigation-bar/
If so: then:
options = { title = "Easy - Addition", backgroundColor = { r, g, b }, }
where r, g, and b are the values you want for your color.
How do you create navigation bar?
I want to change the color of my navBar for ex. navBar:setFillColor(0,1,1)
rob
February 6, 2017, 6:28pm
7
Are you using the navBar from this tutorial?
https://coronalabs.com/blog/2013/12/31/tutorial-extending-widgets-with-a-navigation-bar/
If so: then:
options = { title = "Easy - Addition", backgroundColor = { r, g, b }, }
where r, g, and b are the values you want for your color.