How can I apply HTML formatting to uicontrol tooltips in MATLAB 7.2 (R2006a)?
15 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
MathWorks Support Team
am 27 Jun. 2009
Bearbeitet: MathWorks Support Team
am 29 Aug. 2019
I would like to be able to apply HTML formatting to uicontrol tooltips in MATLAB.
Akzeptierte Antwort
MathWorks Support Team
am 29 Aug. 2019
Bearbeitet: MathWorks Support Team
am 29 Aug. 2019
To apply HTML formatting to uicontrol tooltips you may use a valid HTML string for the 'tooltipString' property of the uicontrol in MATLAB 7.2 (R2006a).
The following code creates a uicontrol with a tooltip which has line breaks and font formatting.
set(uicontrol,'tooltipString','<html><font color="black">testing</font><br><i><b><font color="red"><sup>123</sup></font></b></i>...</html>');
Please note that this is an unsupported feature and may change in future releases.
0 Kommentare
Weitere Antworten (0)
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!