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

19 views (last 30 days)
Is it possible to position each of the radio buttons in a radio button group into a grid layout?
Many thanks.

Answers (1)

Monisha Nalluru
Monisha Nalluru on 29 Oct 2020
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 Comments
Julian Hapke
Julian Hapke on 20 Jul 2021
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 on 27 Oct 2021
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).

Sign in to comment.

Categories

Find more on App Building in Help Center and File Exchange

Products


Release

R2020b

Community Treasure Hunt

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

Start Hunting!