diff options
Diffstat (limited to 'src/widget/text.rs')
-rw-r--r-- | src/widget/text.rs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/widget/text.rs b/src/widget/text.rs index 59b599bb..b529cfd2 100644 --- a/src/widget/text.rs +++ b/src/widget/text.rs @@ -29,8 +29,10 @@ use std::hash::Hash; /// ``` #[derive(Debug, Clone)] pub struct Text<Color> { - content: String, - size: Option<u16>, + /// The text contents + pub content: String, + /// The text size + pub size: Option<u16>, color: Option<Color>, style: Style, horizontal_alignment: HorizontalAlignment, |