diff options
author | 2024-08-22 02:24:06 +0200 | |
---|---|---|
committer | 2024-08-22 02:24:06 +0200 | |
commit | 4c883f12b4761c7e0b273d9a2380552336f61d96 (patch) | |
tree | e2ef505aaa87b84bad010a633a9a96891b50df7d /core/src/padding.rs | |
parent | 55764b923e69afa8a92b4a6cbd34ee9ddbf8a03d (diff) | |
download | iced-4c883f12b4761c7e0b273d9a2380552336f61d96.tar.gz iced-4c883f12b4761c7e0b273d9a2380552336f61d96.tar.bz2 iced-4c883f12b4761c7e0b273d9a2380552336f61d96.zip |
Make `RichText` generic over data structure
... and decouple `markdown::parse` from theming
Diffstat (limited to 'core/src/padding.rs')
-rw-r--r-- | core/src/padding.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/padding.rs b/core/src/padding.rs index fdaa0236..e26cdd9b 100644 --- a/core/src/padding.rs +++ b/core/src/padding.rs @@ -32,7 +32,7 @@ use crate::{Pixels, Size}; /// let widget = Widget::new().padding(20); // 20px on all sides /// let widget = Widget::new().padding([10, 20]); // top/bottom, left/right /// ``` -#[derive(Debug, Copy, Clone, Default)] +#[derive(Debug, Copy, Clone, PartialEq, Default)] pub struct Padding { /// Top padding pub top: f32, |