mirror of
https://github.com/griffi-gh/hUI.git
synced 2024-11-21 22:58:42 -06:00
remove unused enum
This commit is contained in:
parent
9a9bb72f8d
commit
a8b065c839
|
@ -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