MCPcopy Create free account
hub / github.com/box-cli-maker/box-cli-maker / ContentAlign

Method ContentAlign

box.go:222–225  ·  view source on GitHub ↗

ContentAlign sets the horizontal alignment of content inside the box. Supported values are box.Left, box.Center, and box.Right.

(align AlignType)

Source from the content-addressed store, hash-verified

220//
221// Supported values are box.Left, box.Center, and box.Right.
222func (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//

Callers 6

mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80

Calls

no outgoing calls

Tested by 1