From bb71e8481ed59f991b9bd9dc55ea7e011ba0aac6 Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Sat, 16 Mar 2024 16:12:07 +0100 Subject: Make `sandbox` helper take a `title` as well --- examples/styling/src/main.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'examples/styling/src') diff --git a/examples/styling/src/main.rs b/examples/styling/src/main.rs index c00c8caf..110bd3b8 100644 --- a/examples/styling/src/main.rs +++ b/examples/styling/src/main.rs @@ -6,9 +6,8 @@ use iced::widget::{ use iced::{Alignment, Element, Length, Theme}; pub fn main() -> iced::Result { - iced::sandbox(Styling::update, Styling::view) + iced::sandbox("Styling - Iced", Styling::update, Styling::view) .theme(Styling::theme) - .title("Styling - Iced") .run() } -- cgit