fix: headerbar and multi-window example improvements
This commit is contained in:
parent
685a0543cd
commit
77b8718706
3 changed files with 10 additions and 17 deletions
|
|
@ -95,7 +95,7 @@ impl Default for Settings {
|
|||
#[cfg(feature = "wayland")]
|
||||
size_limits: Limits::NONE.min_height(1.0).min_width(1.0),
|
||||
theme: crate::theme::system_preference(),
|
||||
transparent: false,
|
||||
transparent: true,
|
||||
exit_on_close: true,
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -392,7 +392,7 @@ impl container::StyleSheet for Theme {
|
|||
icon_color: Some(Color::from(palette.accent.base)),
|
||||
text_color: Some(Color::from(palette.background.on)),
|
||||
background: Some(iced::Background::Gradient(iced_core::Gradient::Linear(
|
||||
Linear::new(Radians(3.0 * PI / 2.0))
|
||||
Linear::new(Radians(PI))
|
||||
.add_stop(0.0, header_top.into())
|
||||
.add_stop(1.0, header_bottom.into()),
|
||||
))),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue