fix: pass cs.height to Window column so height:100vh constrains layout
This commit is contained in:
@@ -477,6 +477,7 @@ pub fn render_element<'a>(
|
||||
if el.type_name == "Window" {
|
||||
let spacing = cs.spacing.unwrap_or(12.0);
|
||||
let mut col = column![].spacing(spacing).width(Length::Fill);
|
||||
if let Some(h) = cs.height { col = col.height(h); }
|
||||
|
||||
let mut window_fixed_layers = Vec::new();
|
||||
let mut window_abs_layers = Vec::new();
|
||||
|
||||
Reference in New Issue
Block a user