Formatting text and border of pushbotton of gui

2 views (last 30 days)
Dear all,
To type subscript in a string field of gui, I had to use pushbotton instead of static text. Here is one example:
set(handles.text4, 'style', 'push', 'enable', 'off', 'string', '<HTML>T<sub>n')
However, the text becomes faint. How can I change the bushbotton style including text color and line color when "enable" = "off"? Or is there any other way to type subscripts (I need subscript n, m, d, e) in the string field of gui?
Thank you, Jinwon

Answers (0)

Categories

Find more on Environment and Settings 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!