Hi there, I am in the process of creating a scoreboard and I have run into an annoying little issue. I know that you can hide the scrollbar of a DScrollPanel, and thus, I have done so. However, when I add enough elements to my DListLayout, the scrollbar is still there physically (I expected this), and it is just unseen. Because of this, the elements in my list are partially cut off because of the hidden scrollbar. It's like the scrollbar is still there, but invisible. So my question is, how can I remove the scrollbar entirely and still have scrolling functionality? I want my list elements to stretch across the entire canvas and not stop as though there is a scrollbar there.
You may be able to do it with the method here
[url]https://github.com/Exho1/gPhone/blob/298c850407e2f49b79800e9680712f9bf7f85a2c/lua/gphone/apps/settings.lua#L73-L79[/url]
[QUOTE=Moat;51661574]Have you tried this?
[lua]
DScrollPanel:GetVBar():SetWide(0)
[/lua][/QUOTE]
Haha, you're a savior. Thank you!
Sorry, you need to Log In to post a reply to this thread.