GUI: how to make radio button with multiple lines

I would like to create a radio button with a label (i.e. its 'String' property) spanning multiple lines. How can I do that?

 Réponse acceptée

Adam
Adam le 18 Mai 2018
Use html for the 'String', e.g.
'<html>This is a multiline<br>string</html>'

2 commentaires

Unexpected and somewhat awkward, but works fine. Thanks.
Juan Conde
Juan Conde le 22 Juil 2019
Works beautifully! Thanks!

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Interactive Control and Callbacks dans Centre d'aide et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by