Reimplemented NavigationBar

- Navigation Bar was reimplemented to support sections and pages.
- Created new widget called separator, a horizontal rule with the COSMIC
  theme.
This commit is contained in:
Eduardo Flores 2022-10-13 02:23:37 -07:00 committed by Michael Murphy
parent 420d3c3dfc
commit 07e53ddadd
8 changed files with 390 additions and 383 deletions

7
src/widget/separator.rs Normal file
View file

@ -0,0 +1,7 @@
#[macro_export]
macro_rules! separator {
($size:expr) => {
$crate::iced::widget::horizontal_rule($size)
.style(theme::Rule::Custom($crate::widget::separator_style))
};
}