#Change scroll bar texture on scrolling_panel
1 messages · Page 1 of 1 (latest)
Have you taken a look at what the default value is for the variable and apply that to your use?
ok so if anybody one day is looking for the answer, I added
"$scroll_box_mouse_image_control": "custom_ui.scroll_bar"```
in the variables of my scrolling panel and it refers to:
```json
"scroll_bar": {
"type": "image",
"texture": "textures/ui/custom/scroll_bar"
}```
As simple as that but you must not forget the little file with the same name as the scroll_bar image with the dimensions like that for a good rendering:
```json
{
"nineslice_size": 1,
"base_size": [ width, height ]
}```