This commit is contained in:
Chris Cochrun 2025-02-20 15:10:41 -06:00
parent 07455b6a2f
commit f13d021b22

View file

@ -90,11 +90,11 @@ impl SongEditor {
selected_font_size, selected_font_size,
Message::ChangeFontSize, Message::ChangeFontSize,
); );
let title = text(&self.title);
let title_input = text_input("song", &self.title) let title_input = text_input("song", &self.title)
.on_input(Message::ChangeTitle); .on_input(Message::ChangeTitle)
.label("Song Title");
let toolbar = row![font_selector, font_size]; let toolbar = row![font_selector, font_size];
let column = column![toolbar, title, title_input]; let column = column![toolbar, title_input];
column.into() column.into()
} }
} }