- replace a checkbox with a uibutton('state').
- replace a radiobutton group with a toggle button group.
Changing background colors in app designer: UI Radio buttons and UI Check boxes
9 ビュー (過去 30 日間)
古いコメントを表示
Daniel Bailey
2019 年 3 月 30 日
回答済み: Dhanashree Mohite
2019 年 4 月 11 日
Is there a way to change the back ground color (default is white) for check boxes and radio buttons in app designer. For edit fields I have been using:
app.editFieldName.BackgroundColor = colorVal;
However, this doesn't work for the check boxes/radio buttons in the same way - it changes the entire background area of where the button group is. I have checked the documentation and there is only mention of how to change the font color.
The purpose of this is so there there is no white on the UI that I am making.
Thanks in advance.
0 件のコメント
採用された回答
Dhanashree Mohite
2019 年 4 月 11 日
As of now there is no way to set the white color of radio button or checkbox directly.
As a workaround, you can try below things:
You would need to consider the user experience of the app to decide if this is a good idea.
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Interactive Control and Callbacks についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!