diff options
| author | Laurenz <laurmaedje@gmail.com> | 2022-04-08 15:08:26 +0200 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2022-04-08 15:45:14 +0200 |
| commit | 712c00ecb72b67da2c0788e5d3eb4dcc6366b2a7 (patch) | |
| tree | f5d7ef4341a4728c980d020cc173fa6bb70feaff /src/library/layout/spacing.rs | |
| parent | 977ac77e6a3298be2644a8231e93acbef9f7f396 (diff) | |
Em units
Diffstat (limited to 'src/library/layout/spacing.rs')
| -rw-r--r-- | src/library/layout/spacing.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library/layout/spacing.rs b/src/library/layout/spacing.rs index e9837ef5..3468af5e 100644 --- a/src/library/layout/spacing.rs +++ b/src/library/layout/spacing.rs @@ -24,7 +24,7 @@ impl VNode { #[derive(Debug, Copy, Clone, Eq, PartialEq, Hash)] pub enum Spacing { /// Spacing specified in absolute terms and relative to the parent's size. - Relative(Relative<Length>), + Relative(Relative<RawLength>), /// Spacing specified as a fraction of the remaining free space in the parent. Fractional(Fraction), } |
