プッシュボタン上のテキストを複数行にして表示することはできますか?
5 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
MathWorks Support Team
le 16 Sep 2009
Modifié(e) : MathWorks Support Team
le 19 Avr 2021
プッシュボタンに表示されるテキストを複数行にして表示させる方法を教えてください。
以下のように、テキストに改行を含ませても、1行のみの表示になってしまいます。
uicontrol('String',sprintf('%s\n%s','Chose','color'))
Réponse acceptée
MathWorks Support Team
le 19 Avr 2021
Modifié(e) : MathWorks Support Team
le 19 Avr 2021
現状、できません。
なお、以下の MATLAB Central のサイトでは、プッシュボタンの表示に関するプログラムが公開されています。
・MATLAB CENTRAL : createButtonLabel
※ただし、MathWorks テクニカルサポート窓口では、上記サイトに関する内容に関してはサポートすることができませんので、予めご了承ください。
0 commentaires
Plus de réponses (0)
Voir également
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!