From a8b065c839c009f7b446ba3e50ad71a2d575d5f7 Mon Sep 17 00:00:00 2001 From: griffi-gh Date: Wed, 21 Feb 2024 11:03:36 +0100 Subject: [PATCH] remove unused enum --- hui/src/element/builtin/text.rs | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) 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>,