pub fn ailloli_ui_default_titlebar<A: 'static>(
logical_window_id: impl Into<String>,
title: impl Into<String>,
) -> View<A>Expand description
Standard Ailloli UI title bar: theme.titlebar_bg, label, min / max / close icons.
logical_window_id must match the Window::new(...) id so min/max target the correct window.
The returned view has a fixed height of 36 logical pixels and no application icon.
ยงExamples
use ailloli_ui_runtime::component::View;
use ailloli_ui_widgets::chrome::ailloli_ui_default_titlebar;
let titlebar: View<()> = ailloli_ui_default_titlebar("main", "Ailloli");
let _ = titlebar;