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?

 Accepted Answer

Use html for the 'String', e.g.
'<html>This is a multiline<br>string</html>'

2 Comments

Unexpected and somewhat awkward, but works fine. Thanks.
Works beautifully! Thanks!

Sign in to comment.

More Answers (0)

Categories

Find more on Interactive Control and Callbacks in Help Center and File Exchange

Products

Asked:

on 18 May 2018

Commented:

on 22 Jul 2019

Community Treasure Hunt

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

Start Hunting!