Quantcast
Channel: UGUI & TextMesh Pro
Viewing all articles
Browse latest Browse all 23263

How do I make the handle fit within the bounds of the slider?

$
0
0
Let's say I have a slider with 4 steps and the handle is exactly 25% of the slider width.

This is what I want:
[​IMG]

This is how it is currently in Unity:
[​IMG]

The handle is apparently anchored by it center and just moves in even intervals across the slider which causes it to go beyond the bounds of the parent slider (and background fill) when it's at the first and last position. This also means the handle is not in...

How do I make the handle fit within the bounds of the slider?

Viewing all articles
Browse latest Browse all 23263

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>