WrapLimit enables wrapping and sets an explicit maximum width for content.
(limit int)
| 211 | |
| 212 | // WrapLimit enables wrapping and sets an explicit maximum width for content. |
| 213 | func (b *Box) WrapLimit(limit int) *Box { |
| 214 | b.allowWrapping = true |
| 215 | b.wrappingLimit = limit |
| 216 | return b |
| 217 | } |
| 218 | |
| 219 | // ContentAlign sets the horizontal alignment of content inside the box. |
| 220 | // |
no outgoing calls