ContentAlign sets the horizontal alignment of content inside the box. Supported values are box.Left, box.Center, and box.Right.
(align AlignType)
| 220 | // |
| 221 | // Supported values are box.Left, box.Center, and box.Right. |
| 222 | func (b *Box) ContentAlign(align AlignType) *Box { |
| 223 | b.contentAlign = align |
| 224 | return b |
| 225 | } |
| 226 | |
| 227 | // MustRender is like Render but panics if an error occurs. |
| 228 | // |
no outgoing calls