Group uicontrol elements and ALIGN these GROUPS
显示 更早的评论
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).
回答(1 个)
Arduvast Gundar
2016-7-15
编辑:Arduvast Gundar
2016-7-15
类别
在 帮助中心 和 File Exchange 中查找有关 Scope Variables and Generate Names 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!