I am trying to paint a scrollbar.
If i simply do paint on the scrollbar itself it only paints the inside part and not the grip or the up down buttons
How do i get the grip and buttons of a scrollbar?
IK that for DScrollPanel i can do DScrollPanel:GetVBar() to get the scrollbar, but how do i then get the buttons and grip?
[url]https://github.com/garrynewman/garrysmod/blob/master/garrysmod/lua/vgui/dvscrollbar.lua#L65[/url]
I bet you can figure it out.
ninja'd
[QUOTE=Robotboy655;44059121][url]https://github.com/garrynewman/garrysmod/blob/master/garrysmod/lua/vgui/dvscrollbar.lua#L65[/url]
I bet you can figure it out.[/QUOTE]
Thanks :)
Sorry, you need to Log In to post a reply to this thread.