feat: menu bar popups

This commit is contained in:
Ashley Wulber 2025-06-10 11:53:01 -04:00
parent 5b77f37fde
commit 46ae23024a
No known key found for this signature in database
GPG key ID: 5216D4F46A90A820
23 changed files with 1855 additions and 927 deletions

View file

@ -93,7 +93,7 @@ impl cosmic::Application for App {
/// Creates a view after each update.
fn view(&self) -> Element<Self::Message> {
let widget = cosmic::widget::context_menu(
cosmic::widget::button::text(&self.button_label).on_press(Message::Clicked),
cosmic::widget::button::text(self.button_label.to_string()).on_press(Message::Clicked),
self.context_menu(),
);