Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/multi-window/src/window.rs
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ impl cosmic::Application for MultiWindow {
.focused_window()
.map(|i| i == id)
.unwrap_or_default();
let new_window_button = button(text("New Window")).on_press(Message::NewWindow);
let new_window_button = button::custom(text("New Window")).on_press(Message::NewWindow);

let content = scrollable(
column![input, new_window_button]
Expand Down