Cabbage Logo
Back to Cabbage Site

rSlider Background image not appearing correctly

I am trying to add a background image to an rslider but it is not appearing correctly, The background image appears smaller and off-center, is this a bug or am I doing something wrong?.


rslider bounds(221, 65, 60, 60) range(0, 1, 0, 1, 0.001) imgfile(“Slider”, “Knob.png”) imgfile(“Background”, “KnobBackground.png”)

There is a background image below, it is just difficult to see as its a white png

Knob KnobBackground

Yeah, looks like bug, on the other hand, if you use the background for the slider it will rotate fine.


You can also use a static image() widget, and place it behind the slider. Most of the best GUIs I’ve seen created with Cabbage use a mix of native drawing and images.

1 Like

Ahh Ok, Thanks Rory :slight_smile:

This is fixed now. You can try some fresh Cabbage here once it’s cooked :wink:

1 Like