Show a range slider beside bounded range-mode numbers in the Properties panel (#4532)

* Show a range slider beside bounded numbers in range mode

* Fall back to a plain number widget when a range's bounds are reversed or equal
This commit is contained in:
Keavon Chambers
2026-09-14 18:49:09 -07:00
committed by GitHub
parent 5e705aaa04
commit e8f7366a43
2 changed files with 35 additions and 5 deletions

View File

@@ -38,6 +38,7 @@ fn text(
letter_spacing: Item<f64>,
/// The angle of faux italic slant applied to each glyph.
#[unit("°")]
#[range]
#[hard(-85..85)]
letter_tilt: Item<f64>,
/// Enables the maximum width constraint so lines can wrap.