Change the Color of the Switch in the app designer?
Show older comments
I am using app designer and I would like to change the color of the switches. Available switch options were 'Rocker Switch', 'Toggle Switch' and 'Switch' but neither of them has a .Color attribute.
I know I can use a lamp instead to display the status of the switch but I would like to change the color of the switch if possible.
Or I would like to have 'On' or 'Off' but only one of the two visible when the switch is in either of the states.
Thanks in advance!
Accepted Answer
More Answers (1)
Reshma Nerella
on 11 Jun 2021
2 votes
Hi,
Currently we do not support Color property for Switch components. I have brought this issue to the notice of the concerned people and it might be considered for a future release.
3 Comments
Ruben Kopischke
on 15 Feb 2022
I'd love this as well
Jiri Hajek
on 11 May 2022
This would be much appreciated...
aamir ibrahim
on 9 Sep 2024
Is this available now? I am working with 2023a and still don't see this.
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
