fix(interface): align closer to designs
This commit is contained in:
parent
764b4ae5f8
commit
fe1363ea42
7 changed files with 92 additions and 79 deletions
|
|
@ -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> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue