fix: pass cs.height to Window column so height:100vh constrains layout

This commit is contained in:
Glint Dev
2026-07-22 14:38:54 +03:00
parent e770d1a68a
commit f51b32ecc3

View File

@@ -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();