ZIm/crates/ui2
Marshall Bowers 0f33775a91
Add general-purpose functions for sizing in viewport units (#3833)
This PR adds general-purpose functions for obtaining a `Length` in
viewport units.

Previously in #3600 we had added specific variants of `w` and `h` that
took viewport units, but I think it makes more sense to just have a
primitive that can compose with any styling method that accepts a
`Length` or `Into<Length>`.

Release Notes:

- N/A
2024-01-02 11:53:57 -05:00
..
docs WIP: Work toward eliminating Component trait 2023-11-18 00:03:23 -07:00
src Add general-purpose functions for sizing in viewport units (#3833) 2024-01-02 11:53:57 -05:00
Cargo.toml ui2: Reference theme2 and settings2 crates without the 2 (#3424) 2023-11-28 15:30:29 -05:00