SliderElement.SquareHandle property
Opt in to a knob that is exactly HandleSize square, instead of one stretched to the height of its row.
Unity’s Slider.UpdateVisuals drives the handle’s anchors every frame — full stretch, with only the AXIS component pinned to the value — so on the cross axis HandleSize acts as an ADDITION to the row height, not as the knob’s height. A 13px handle in a 16px row therefore draws a 13×29 capsule (measured 2026-07-30; predicted and confirmed at HandleSize=7 → 7×29−6=7×23).
That stretched look is what every existing slider already renders, so it stays the DEFAULT: correcting it globally would silently restyle every plugin’s sliders at once. New UI that wants a round knob opts in here. Drag behaviour is identical either way — the value is mapped from the container’s WIDTH, which this does not touch.
public bool SquareHandle { get; set; }See Also
Section titled “See Also”- record SliderElement
- namespace Stellar.Abstractions.Services