How to get app designer radio button group spacing to auto resize with window
15 views (last 30 days)
Show older comments
I have an app that (necessarily) automatically resizes to fill the screen on launch (app.UIFigure.WindowState = 'fullscreen'). The app uses grid layouts on all panels. I have a radio button group assigned to a panel grid layout, the columns and rows of which are weighted, so that the components scale up on the window resizing. Although the radio button 'group' expands, the spacing between buttons themselves does not. I need the spacing between buttons to expand proportionately with the size of the button group.
(How) is this possible?
2 Comments
Answers (1)
Neha
on 14 Nov 2023
Hi Michael,
I understand that you are facing an issue in App Designer where the spacing between the radio buttons does not scale on resizing the figure window. You can try setting the "Units" property of each "uicontrol" to "normalized". If this doesn't help in resolving your issue, you can try implementing the other suggestions as explained in this MATLAB Answer:
Hope this helps!
See Also
Categories
Find more on Develop Apps Using App Designer 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!