How do I change the border color of a uipanel?

16 visualizaciones (últimos 30 días)
Justin Solomon
Justin Solomon el 24 de Jul. de 2014
Comentada: Justin Solomon el 24 de Jul. de 2014
I have a GUI with multiple panels and I'd like to change the color used for the panel outline. From the help menu, it seems like I should be able to use the 'ForegroundColor' property. However, when I change this property, only the color of the panel title text changes. The border line around the panel stays the same default (gray) color.
I'm running MATLAB R2013b on OSX 10.9.4. Any insights would be much appreciated!

Respuesta aceptada

Sean de Wolski
Sean de Wolski el 24 de Jul. de 2014
Should be the 'HighlightColor'
uipanel('HighLightColor','r')

Más respuestas (0)

Categorías

Más información sobre Interactive Control and Callbacks en Help Center y File Exchange.

Productos

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by