Type Definition kas_widgets::StringLabel

source ·
pub type StringLabel = Label<String>;
Expand description

Label with String as backing type

Trait Implementations§

source§

impl Layout for StringLabel

source§

fn draw(&mut self, draw: DrawMgr<'_>)

Draw a widget and its children Read more
source§

fn size_rules(&mut self, size_mgr: SizeMgr<'_>, axis: AxisInfo) -> SizeRules

Get size rules for the given axis Read more
source§

fn set_rect(&mut self, mgr: &mut ConfigMgr<'_>, rect: Rect)

Set size and position Read more
source§

fn find_id(&mut self, coord: Coord) -> Option<WidgetId>

Translate a coordinate to a WidgetId Read more