summaryrefslogtreecommitdiffstats
path: root/core/src/lib.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2024-07-12 18:40:54 +0200
committerLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2024-07-12 18:43:25 +0200
commit7c3341760de74df2153ef367e502960f20f9c681 (patch)
tree945f3ad59d8da742e7246d6d4fc30f52ab010b6b /core/src/lib.rs
parent915c926c28f77ad7b401a17964408d27548543e6 (diff)
downloadiced-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 'core/src/lib.rs')
-rw-r--r--core/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/lib.rs b/core/src/lib.rs
index 32156441..40a288e5 100644
--- a/core/src/lib.rs
+++ b/core/src/lib.rs
@@ -20,6 +20,7 @@ pub mod keyboard;
pub mod layout;
pub mod mouse;
pub mod overlay;
+pub mod padding;
pub mod renderer;
pub mod svg;
pub mod text;
@@ -35,7 +36,6 @@ mod color;
mod content_fit;
mod element;
mod length;
-mod padding;
mod pixels;
mod point;
mod rectangle;