mirror of
https://github.com/griffi-gh/hUI.git
synced 2024-11-28 18:08:42 -06:00
remove unused enum
This commit is contained in:
parent
a6b2244461
commit
f8d67da0c9
|
@ -8,11 +8,12 @@ use crate::{
|
||||||
layout::UiSize
|
layout::UiSize
|
||||||
};
|
};
|
||||||
|
|
||||||
pub enum TextSize {
|
//TODO: text fit
|
||||||
FitToWidthRatio(f32),
|
// pub enum TextSize {
|
||||||
FitToHeightRatio(f32),
|
// FitToWidthRatio(f32),
|
||||||
Constant(u8),
|
// FitToHeightRatio(f32),
|
||||||
}
|
// Constant(u8),
|
||||||
|
// }
|
||||||
|
|
||||||
pub struct Text {
|
pub struct Text {
|
||||||
pub text: Cow<'static, str>,
|
pub text: Cow<'static, str>,
|
||||||
|
|
Loading…
Reference in a new issue