How to change the color of "partial" text in gui static text
조회 수: 9 (최근 30일)
이전 댓글 표시
For example, I want to display a string of 'ABCDE' in the static text box, and want to highlight C with red color or bold font. How to do that? By setting the "ForegroundColor", or "Font" property, it would change the whole string, but I want to apply to partial of the string. ideas?
댓글 수: 0
답변 (1개)
Prannay Jain
2017년 5월 2일
Unfortunately, currently this is not possible to change the color of "partial" text in gui static text. You may think of adding different strings of single characters with different colors and fonts.
댓글 수: 0
참고 항목
카테고리
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!