Home
last modified time | relevance | path

Searched refs:LabelOverflowType (Results 1 – 3 of 3) sorted by relevance

/StarryEngine/starry_toolkit/src/widgets/
H A Dlabel.rs20 pub enum LabelOverflowType { enum
43 adapt_type: Cell<LabelOverflowType>,
62 adapt_type: Cell::new(LabelOverflowType::None), in new()
80 LabelOverflowType::None => {} in handle_overflow()
82 LabelOverflowType::ShinkToFit => { in handle_overflow()
86 LabelOverflowType::Omit => { in handle_overflow()
114 pub fn set_adapt_type(&self, adapt_type: LabelOverflowType) { in set_adapt_type() argument
/StarryEngine/starry_applications/src/asset_manager/code/
H A Dasset_item_list.rs14 label::{Label, LabelOverflowType},
62 name.set_adapt_type(LabelOverflowType::Omit); in new()
72 file_type.set_adapt_type(LabelOverflowType::ShinkToFit); in new()
H A Dasset_item_grid.rs14 label::{Label, LabelOverflowType},
76 name.set_adapt_type(LabelOverflowType::Omit); in new()