MCPcopy
hub / github.com/g3n/engine / SetVerticalScrollbarOverlapping

Method SetVerticalScrollbarOverlapping

gui/scroller.go:178–182  ·  view source on GitHub ↗

SetVerticalScrollbarOverlapping specifies whether the vertical scrollbar overlaps the content area

(state bool)

Source from the content-addressed store, hash-verified

176
177// SetVerticalScrollbarOverlapping specifies whether the vertical scrollbar overlaps the content area
178func (s *Scroller) SetVerticalScrollbarOverlapping(state bool) {
179
180 s.style.VerticalScrollbar.OverlapContent = state
181 s.Update()
182}
183
184// VerticalScrollbarOverlapping returns whether the vertical scrollbar overlaps the content area
185func (s *Scroller) VerticalScrollbarOverlapping() bool {

Callers

nothing calls this directly

Calls 1

UpdateMethod · 0.95

Tested by

no test coverage detected