diff --git a/hui/src/element/builtin/text.rs b/hui/src/element/builtin/text.rs index 6bef31c..500252a 100644 --- a/hui/src/element/builtin/text.rs +++ b/hui/src/element/builtin/text.rs @@ -8,11 +8,12 @@ use crate::{ layout::UiSize }; -pub enum TextSize { - FitToWidthRatio(f32), - FitToHeightRatio(f32), - Constant(u8), -} +//TODO: text fit +// pub enum TextSize { +// FitToWidthRatio(f32), +// FitToHeightRatio(f32), +// Constant(u8), +// } pub struct Text { pub text: Cow<'static, str>,