SetAlignV sets the vertical alignment of the whole group of items inside the parent panel and updates the layout if possible. This only has any effect if there are no expanded items.
(align Align)
| 61 | // inside the parent panel and updates the layout if possible. |
| 62 | // This only has any effect if there are no expanded items. |
| 63 | func (bl *VBoxLayout) SetAlignV(align Align) { |
| 64 | |
| 65 | bl.alignV = align |
| 66 | bl.Recalc(bl.pan) |
| 67 | } |
| 68 | |
| 69 | // SetAutoHeight sets if the panel minimum height should be the height of |
| 70 | // the largest of its children's height. |