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

Method SetHorizontalScrollbarOverlapping

gui/scroller.go:191–195  ·  view source on GitHub ↗

SetHorizontalScrollbarOverlapping specifies whether the horizontal scrollbar overlaps the content area

(state bool)

Source from the content-addressed store, hash-verified

189
190// SetHorizontalScrollbarOverlapping specifies whether the horizontal scrollbar overlaps the content area
191func (s *Scroller) SetHorizontalScrollbarOverlapping(state bool) {
192
193 s.style.HorizontalScrollbar.OverlapContent = state
194 s.Update()
195}
196
197// HorizontalScrollbarOverlapping returns whether the horizontal scrollbar overlaps the content area
198func (s *Scroller) HorizontalScrollbarOverlapping() bool {

Callers

nothing calls this directly

Calls 1

UpdateMethod · 0.95

Tested by

no test coverage detected