Skip to main content

panel_tab

Function panel_tab 

Source
pub fn panel_tab(
    ui: &mut dyn UiBuilder,
    id_salt: &str,
    origin: [f32; 2],
    label: &str,
    badge: Option<&str>,
    active: bool,
    theme: &UiTheme,
) -> (bool, f32)
Expand description

A panel header tab. Returns whether it was clicked plus its width.