VBoxLayout implements a panel layout which arranges the panel children vertically. The children can be separated by a space in pixels set by SetSpacing(). The whole group of children can be aligned vertically by SetAlignV() which can accept the following types of alignment: AlignTop: Try to align
| 27 | // If the layout method SetAutoWidth(true) is called, the panel minimum content width will be the |
| 28 | // width of the widest child. |
| 29 | type VBoxLayout struct { |
| 30 | pan IPanel |
| 31 | spacing float32 |
| 32 | alignV Align |
| 33 | autoHeight bool |
| 34 | autoWidth bool |
| 35 | } |
| 36 | |
| 37 | // VBoxLayoutParams specify the horizontal alignment of each individual child. |
| 38 | type VBoxLayoutParams struct { |
nothing calls this directly
no outgoing calls
no test coverage detected