map_gui::tools::ui

Function percentage_bar

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