widgets.rs (255B)
1 use egui::Widget; 2 use notedeck_ui::widgets::styled_button_toggleable; 3 4 /// Sized and styled to match the figma design 5 pub fn styled_button(text: &str, fill_color: egui::Color32) -> impl Widget + '_ { 6 styled_button_toggleable(text, fill_color, true) 7 }