set(handles.text5,'EdgeColor','black','LineStyle',':').....but I get error "There is no 'EdgeColor' property in the 'uicontrol' class." My version is 7.12.0.635 (R2011a).....it can be a problem?
Text-border color in GUIDE
14 次查看(过去 30 天)
显示 更早的评论
Hi,
How can I set border color for static text?
Thanks
回答(1 个)
Jan
2012-3-13
The error message is sufficient: The is no EdgeColor property for uicontrol's. This mean, that you cannot set a border.
Either use text or draw a rectangle around the static text object.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Migrate GUIDE Apps 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!