-
When using any theme besides Button Button I can't visually deduce which state the button is at. When I change to Mono, it's not very attactive, but I can see which button is active (has a property > val set to 1) 红色 Red 彩虹 Rainbow Any tips for how to better design my button layout so that which button is active will be more clear when using my favorite |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
I think the darker border you see in the mono theme is not an indication of the on/off state, but a focus indicator of the last touched object. What are you trying to achieve exactly? If you want to have toggle buttons, use |
Beta Was this translation helpful? Give feedback.
-
That's what I've been looking for! Much better... Hadn't paid attention to the https://openhasp.haswitchplate.com/0.6.3/design/objects/#button Now the toggled state of my 3 color selection buttons works perfectly!
|
Beta Was this translation helpful? Give feedback.
I think the darker border you see in the mono theme is not an indication of the on/off state, but a focus indicator of the last touched object.
What are you trying to achieve exactly? If you want to have toggle buttons, use
"toggle":1
. If you want to have only one selected button active, usebtnmatrix
with"toggle":1,"one_check":1
.