Skip to content

bg_color01 with btnmatrix #417

Answered by fvanroie
Greginkansas asked this question in Q&A
Discussion options

You must be logged in to vote

Can I use the bg_color01 with btnmatrix?

bg_color01 doesn't apply because it is the background color of the whole brnmatrix, which doesn't have a toggled state itself.
The individual buttons can have a toggled state: so use the partnumber 40 for items/buttons + 01 for toggled state:

{"page":11,"id":5,"obj":"btnmatrix","x":2,"y":2,"w":476,"h":245,"text_font":48,"text_color40":"black","text_color41":"white","bg_color41":"#ff0004","options":["Screen Door","Front Door","\n","G Door","Back Door"],"toggle":1,"one_check":0}

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Greginkansas
Comment options

Answer selected by Greginkansas
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants