Slider goes over the edge when set to 0

Hey guys,

Didn’t find info about this so I thought about asking about this. When I drag the slider without a handle to 0, the fill area goes over the edge and the position where the pointer grabs it is off by the same amount. All the scaling and offset values are set to fill the entire slider background with the fill area but still this happens. Any ideas?

I don’t know about the solution, but I’m having the same glitch. On my side it’s less noticeable as my sliders are smaller in height but I noticed the same.

I’m curious to know if there’s a workaround to this…

Did you check the offsets of the “Fill” transform?

This was eventually “solved” by just trying out random values in the background and fill (I had them at 0). You take into account the empty border around your texture and adding that to the transform.

I had 8px of empty space so I had to set

Background
    Rect Transform
         Left   -7
         Right  -7

Fill
    Rect Transform
         Left   -6
         Right `` -[/COLOR]6

[/FONT]

1 Like