diff --git a/hui-examples/boilerplate.rs b/hui-examples/boilerplate.rs index f9e6db3..146fb1e 100644 --- a/hui-examples/boilerplate.rs +++ b/hui-examples/boilerplate.rs @@ -37,6 +37,8 @@ pub fn ui( let event_loop = EventLoopBuilder::new().build().unwrap(); let (window, display) = SimpleWindowBuilder::new().build(&event_loop); + window.set_title(name); + let mut hui = UiInstance::new(); let mut backend = GliumUiRenderer::new(&display); diff --git a/hui-examples/examples/mom_downloader.rs b/hui-examples/examples/mom_downloader.rs index c4ea751..7685c40 100644 --- a/hui-examples/examples/mom_downloader.rs +++ b/hui-examples/examples/mom_downloader.rs @@ -15,6 +15,7 @@ use hui::{ mod boilerplate; ui_main!{ + "Mom downloader 2000", init: |ui| { let font_handle = ui.add_font(include_bytes!("../assets/roboto/Roboto-Regular.ttf")); ui.push_font(font_handle);