diff options
author | 2024-07-12 18:40:54 +0200 | |
---|---|---|
committer | 2024-07-12 18:43:25 +0200 | |
commit | 7c3341760de74df2153ef367e502960f20f9c681 (patch) | |
tree | 945f3ad59d8da742e7246d6d4fc30f52ab010b6b /src/lib.rs | |
parent | 915c926c28f77ad7b401a17964408d27548543e6 (diff) | |
download | iced-7c3341760de74df2153ef367e502960f20f9c681.tar.gz iced-7c3341760de74df2153ef367e502960f20f9c681.tar.bz2 iced-7c3341760de74df2153ef367e502960f20f9c681.zip |
Improve `Padding` ergonomics
We expose free functions for creating a `Padding`
and methods with the same name to modify its fields.
Diffstat (limited to '')
-rw-r--r-- | src/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -196,6 +196,7 @@ pub use crate::core::alignment; pub use crate::core::border; pub use crate::core::color; pub use crate::core::gradient; +pub use crate::core::padding; pub use crate::core::theme; pub use crate::core::{ Alignment, Background, Border, Color, ContentFit, Degrees, Gradient, |