How to position radio buttons into grid layouts in App Designer?

19 ビュー (過去 30 日間)
Leon
Leon 2020 年 10 月 26 日
コメント済み: Julian Dönges 2021 年 10 月 27 日
Is it possible to position each of the radio buttons in a radio button group into a grid layout?
Many thanks.

回答 (1 件)

Monisha Nalluru
Monisha Nalluru 2020 年 10 月 29 日
Hi Leon,
For my understanding, you want to place the radio buttons of radio button group in grid layout. This is not possible because the parent of uiradiobutton is uibuttongroup.
But if you want radio button to be looking as grid, you can calcuate and set them by specifying position property
  2 件のコメント
Julian Hapke
Julian Hapke 2021 年 7 月 20 日
If it's not already in development to have the elements inside a button group automatically arragaged, please take this comment as a feature request.
Julian Dönges
Julian Dönges 2021 年 10 月 27 日
Changing the Position property does not help in keeping the relative position correct when you are resizing the uifigure.
You can't even orient the radiobuttons to other grid elements, as the Position property is only in reference to the parent uibuttongroup and does not allow for absolute positioning (nor normalized values).

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeApp Building についてさらに検索

製品


リリース

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by