HBoxLayout implements a panel layout which arranges the panel children horizontally. The children can be separated by a space in pixels set by SetSpacing(). The whole group of children can be aligned horizontally by SetAlignH() which can accept the following types of alignment: AlignLeft: Try to a
| 27 | // If the layout method SetAutoWidth(true) is called, the panel minimum content width will be the |
| 28 | // sum of its children's widths plus the spacing. |
| 29 | type HBoxLayout struct { |
| 30 | pan IPanel |
| 31 | spacing float32 |
| 32 | alignH Align |
| 33 | autoHeight bool |
| 34 | minHeight bool |
| 35 | } |
| 36 | |
| 37 | // HBoxLayoutParams specify the vertical alignment of each individual child. |
| 38 | type HBoxLayoutParams struct { |
nothing calls this directly
no outgoing calls
no test coverage detected