Format ToolTip strings in AppDesigner

22 次查看(过去 30 天)
David K
David K 2020-3-18
回答: dpb 2022-10-26
I am working on migrating a GUI from GUIDE to AppDesigner. In GUIDE, I could format the tooltip text by supplying an HTML string. This doesn't appear to work in App Designer. Is there any way to format the tooltip text in App Designer? In particular, I'm looking to bold certain words and add line breaks to the tooltip.

回答(2 个)

Harsha Priya Daggubati
Hi,
You can add tooltips to any component, by using the Inspector tab that is displayed to the right in App Designer from MATLAB R2018b. Formatting using HTML is not a supported feature as of now.
Hope this clarifies your question!

dpb
dpb 2022-10-26
Just got to this point myself after seeing Yair's example for GUIDE controls -- another step backwards in abilities; in R2020b it still doesn' work; I've not yet updated past.
You CAN embed the newline character to get the line breaks but HTML still didn't work. I don't suppose there's any chance that TeX might; haven't yet taken a flyer...since @Harsha Priya Daggubati didn't mention as workaround, one presumes that's likely not supported, either.

类别

Help CenterFile Exchange 中查找有关 Migrate GUIDE Apps 的更多信息

产品


版本

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by