Button formatting

This commit is contained in:
Ian Douglas Scott 2021-08-30 12:45:46 -07:00
parent 3d85922fcc
commit 684ef12fca
3 changed files with 4 additions and 2 deletions

View file

@ -29,11 +29,11 @@ impl ObjectImpl for PanelWindowInner {
gtk4::Box::new(gtk4::Orientation::Horizontal, 0);
..append(&cascade! {
gtk4::Button::with_label("Workspaces");
..style_context().add_class("flat");
..set_has_frame(false);
});
..append(&cascade! {
gtk4::Button::with_label("Applications");
..style_context().add_class("flat");
..set_has_frame(false);
});
}));
..set_center_widget(Some(&TimeButton::new()));