MCPcopy Index your code
hub / github.com/g3n/engine / SetAlignRight

Method SetAlignRight

gui/folder.go:102–106  ·  view source on GitHub ↗

SetAlignRight sets the side of the alignment of the content panel in relation to the folder.

(state bool)

Source from the content-addressed store, hash-verified

100// SetAlignRight sets the side of the alignment of the content panel
101// in relation to the folder.
102func (f *Folder) SetAlignRight(state bool) {
103
104 f.alignRight = state
105 f.recalc()
106}
107
108// Height returns this folder total height
109// considering the contents panel, if visible.

Callers 1

InitializeMethod · 0.80

Calls 1

recalcMethod · 0.95

Tested by

no test coverage detected