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

@ -140,16 +140,11 @@ impl cosmic::Application for CosmicBluetoothApplet {
let mut popup_settings = self.core.applet.get_popup_settings(
self.core.main_window_id().unwrap(),
new_id,
Some((1, 1)),
None,
None,
None,
);
popup_settings.positioner.size_limits = Limits::NONE
.min_height(1.0)
.min_width(1.0)
.max_height(800.0)
.max_width(400.0);
let tx = self.bluer_sender.as_ref().cloned();
return Task::batch(vec![
iced::Task::perform(