Function glyph_text_button

Source
pub(crate) fn glyph_text_button(
    ui: &mut Ui,
    icon: Glyph,
    text: &str,
) -> Response
Expand description

A button showing icon and then text. Used wherever a control needs a real-world picture rather than a symbol character (half of those render as tofu boxes in Segoe UI). An empty text gives a bare icon button, centred.