map_gui::tools

Function percentage_bar

Source
pub fn percentage_bar(ctx: &EventCtx<'_>, txt: Text, pct_green: f64) -> Widget