How do I change the border color of a uipanel?

9 次查看(过去 30 天)
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!

采纳的回答

Sean de Wolski
Sean de Wolski 2014-7-24
Should be the 'HighlightColor'
uipanel('HighLightColor','r')

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Interactive Control and Callbacks 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by