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

18 visualizaciones (últimos 30 días)
Leon
Leon el 26 de Oct. de 2020
Comentada: Julian Dönges el 27 de Oct. de 2021
Is it possible to position each of the radio buttons in a radio button group into a grid layout?
Many thanks.

Respuestas (1)

Monisha Nalluru
Monisha Nalluru el 29 de Oct. de 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 comentarios
Julian Hapke
Julian Hapke el 20 de Jul. de 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 el 27 de Oct. de 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).

Iniciar sesión para comentar.

Categorías

Más información sobre Develop Apps Using App Designer en Help Center y File Exchange.

Productos


Versión

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by