appdesigne​rを使用した際のラジ​オボタングループのフ​レームの色の変更はで​きるか?

appdesignerやuiradiobuttonを使用すると、添付した画像のように、ラジオボタンのグループがわかるように枠がつきます。
この枠が邪魔なのでわからないようにしたい。
最悪、背景色と同じ色にすることでわからないようにする、という方法でも構わないです。
やり方がありましたら、教えていただければ幸いです。

 Accepted Answer

Kojiro Saito
Kojiro Saito on 14 Oct 2020

0 votes

R2020b時点でも、枠線の色を変えることはできませんが、枠線を消すことはできます。
App Designerのコンポーネントブラウザーの「インスペクター」から、BorderTypeを「none」にすることできます。
また、コマンドでは以下のようにオプションを指定します。
uiBg1 = uibuttongroup(uifigure, 'BorderType', 'none');

More Answers (0)

Categories

Find more on 起動と終了 in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!