The whole orientation thing was stupid

This commit is contained in:
2023-04-20 01:10:47 -04:00
parent ff3802ca5e
commit 580b7d2ad0
5 changed files with 38 additions and 30 deletions

View File

@@ -46,7 +46,7 @@ func run () {
elements.ScrollHorizontal,
elements.NewTextBox("", "I bet you weren't expecting this!"))))
list.Collapse(0, 32)
scrollBar := elements.NewScrollBar(true)
scrollBar := elements.NewVScrollBar()
list.OnScrollBoundsChange (func () {
scrollBar.SetBounds (
list.ScrollContentBounds(),