Merge branch 'master_jammy' of https://github.com/pop-os/cosmic-edit into master_jammy
This commit is contained in:
commit
b87fa0e7df
1 changed files with 6 additions and 1 deletions
|
|
@ -78,9 +78,14 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||||
};
|
};
|
||||||
|
|
||||||
let mut settings = Settings::default();
|
let mut settings = Settings::default();
|
||||||
println!("{:?}", config.app_theme);
|
|
||||||
settings = settings.theme(config.app_theme.theme());
|
settings = settings.theme(config.app_theme.theme());
|
||||||
|
|
||||||
|
#[cfg(target_os = "redox")]
|
||||||
|
{
|
||||||
|
// Redox does not support resize if doing CSDs
|
||||||
|
settings = settings.client_decorations(false);
|
||||||
|
}
|
||||||
|
|
||||||
//TODO: allow size limits on iced_winit
|
//TODO: allow size limits on iced_winit
|
||||||
//settings = settings.size_limits(Limits::NONE.min_width(400.0).min_height(200.0));
|
//settings = settings.size_limits(Limits::NONE.min_width(400.0).min_height(200.0));
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue