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:
parent
420d3c3dfc
commit
07e53ddadd
8 changed files with 390 additions and 383 deletions
7
src/widget/separator.rs
Normal file
7
src/widget/separator.rs
Normal 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))
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue