Group uicontrol elements and ALIGN these GROUPS
Show older comments
I'm attempting to implement Grid, vertical and horizontal Layout classes in Matlab. To do so, I Group Buttons by putting them into Panels, where each Panel represents a Layout (e.g. a horizontal Layout). I have to group the buttons of one Layout, in order to be able to put one Layout into another (e.g. place a horizontal Layout in one cell of a grid layout). I have almost got it working, however, it seems, that Matlab's align-function doesn't Support Panels.
Is there a way of grouping Buttons and other uicontrol-objects and then aligning These Groups? It doesn't have to be uipanels.
Any help is highly appreciated.
Arduvast Gundar
P.S.: I know that this question has been asked before ( http://de.mathworks.com/matlabcentral/answers/245542-is-there-a-trick-to-align-uipanel-objects-w-e-g-uicontrol-objects ), however, the only answer provided was to manually set the Panel positions, which is not a satisfactory Option for me (I would hate to lose the comfort of align and the whole idea of the grid-layout class is to do away with Matlabs terrible absolute Position values and enable auto-positioning).
Answers (1)
Arduvast Gundar
on 15 Jul 2016
Edited: Arduvast Gundar
on 15 Jul 2016
Categories
Find more on Environment and Settings in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!