fix: use fixed window width for all applets

This commit is contained in:
Ashley Wulber 2025-03-04 13:25:10 -05:00 committed by Ashley Wulber
parent 9b09c97665
commit 61d1d1b91d
11 changed files with 12 additions and 91 deletions

View file

@ -195,11 +195,7 @@ impl cosmic::Application for Window {
None,
None,
);
popup_settings.positioner.size_limits = Limits::NONE
.max_width(400.0)
.min_width(300.0)
.min_height(200.0)
.max_height(1080.0);
get_popup(popup_settings)
}
}
@ -368,11 +364,7 @@ impl cosmic::Application for Window {
]
.padding([8, 0]);
self.core
.applet
.popup_container(content_list)
.max_width(400.)
.into()
self.core.applet.popup_container(content_list).into()
}
fn style(&self) -> Option<cosmic::iced_runtime::Appearance> {