fix: use fixed window width for all applets
This commit is contained in:
parent
9b09c97665
commit
61d1d1b91d
11 changed files with 12 additions and 91 deletions
|
|
@ -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> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue