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 CenterFile Exchange에서 Develop Apps Using App Designer에 대해 자세히 알아보기

제품


릴리스

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by