Going to possibly build our own custom nav_bar

This commit is contained in:
Chris Cochrun 2024-11-22 13:53:14 -06:00
parent 9031d15678
commit 4f3d5e560c

View file

@ -7,6 +7,7 @@ use cosmic::iced_core::SmolStr;
use cosmic::iced_widget::{column, row, stack};
use cosmic::prelude::ElementExt;
use cosmic::prelude::*;
use cosmic::widget::aspect_ratio::aspect_ratio_container;
use cosmic::widget::tooltip::Position as TPosition;
use cosmic::widget::{
button, image, nav_bar, text, tooltip, Responsive, Space,
@ -182,6 +183,12 @@ impl cosmic::Application for App {
Some(&self.nav_model)
}
fn nav_bar(
&self,
) -> Option<Element<cosmic::app::Message<Message>>> {
None
}
/// Called when a navigation item is selected.
fn on_nav_select(
&mut self,