Improve Padding ergonomics
We expose free functions for creating a `Padding` and methods with the same name to modify its fields.
This commit is contained in:
parent
915c926c28
commit
7c3341760d
5 changed files with 70 additions and 47 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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue