How to change the scrollbar icon

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By arnomleonam

I wanna know how I change the icon for scrollbar in Text Edit, Scroll Container, etc.

Here's the original icon that Godot uses

:bust_in_silhouette: Reply From: Wakatta

Simple Create a custom theme using the inspector of those nodes
Then change H_scrollbar or V_scrollbar properties for increment_highlight increment decrement_highlight decrement

But if you like pain and hard work

Those Nodes have V & H scrollbar children which i believe are the first and second
For ScrollContainer you can use get_h_scrollbar() of get_v_scrollbar()


get_child(1).set('custom_icon/increment_highlight', fancyTexture)