fix(interface): align closer to designs

This commit is contained in:
Vukašin Vojinović 2024-12-23 01:54:51 +01:00 committed by Ian Douglas Scott
parent 764b4ae5f8
commit fe1363ea42
7 changed files with 92 additions and 79 deletions

View file

@ -634,12 +634,11 @@ impl Application for App {
}
fn view_window(&self, id: iced::window::Id) -> cosmic::prelude::Element<Self::Message> {
use iced::widget::*;
if let Some(surface) = self.layer_surfaces.get(&id) {
return view::layer_surface(self, surface);
}
log::info!("NO VIEW");
text("workspaces").into()
cosmic::widget::text("workspaces").into()
}
fn on_close_requested(&self, _id: SurfaceId) -> Option<Msg> {