Option to Always Show Scrollbar
Closed this issue · 2 comments
MikuAuahDark commented
Currently to make Slab show scrollbar, the AutoSizeWindow
needs to be set to false. However in my use case, this is not possible since I need the window to be resizable. The screen size may also change. Furthermore, I can't determine exactly how much elements I'll put into.
flamendless commented
@MikuAuahDark you can now achieve this using the ShowScrollbarX
or ShowScrollbarY
Example:
Slab.BeginWindow("MyFirstWindow", {
Title = "My First Window",
ShowScrollbarX = true,
ShowScrollbarY = true,
})
Slab.Text("Hello World")
Slab.EndWindow()
MikuAuahDark commented
Cool, I'll test it out ASAP.