プッシュボタン上のテキストを複数行にして表示することはできますか?
5 views (last 30 days)
Show older comments
MathWorks Support Team
on 16 Sep 2009
Edited: MathWorks Support Team
on 19 Apr 2021
プッシュボタンに表示されるテキストを複数行にして表示させる方法を教えてください。
以下のように、テキストに改行を含ませても、1行のみの表示になってしまいます。
uicontrol('String',sprintf('%s\n%s','Chose','color'))
Accepted Answer
MathWorks Support Team
on 19 Apr 2021
Edited: MathWorks Support Team
on 19 Apr 2021
現状、できません。
なお、以下の MATLAB Central のサイトでは、プッシュボタンの表示に関するプログラムが公開されています。
・MATLAB CENTRAL : createButtonLabel
※ただし、MathWorks テクニカルサポート窓口では、上記サイトに関する内容に関してはサポートすることができませんので、予めご了承ください。
0 Comments
More Answers (0)
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!