mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-01 22:31:14 +00:00
Delay the percentage size conversion to after the layouting phase
So we can see inthe layouting phase if the size was in percent
This commit is contained in:
parent
92218a8b6e
commit
0174db3679
6 changed files with 67 additions and 53 deletions
|
@ -182,7 +182,7 @@ pub async fn run_passes(
|
|||
passes::lower_popups::lower_popups(&doc.root_component, &doc.local_registry, diag);
|
||||
passes::lower_layout::lower_layouts(&doc.root_component, &mut type_loader, diag).await;
|
||||
passes::lower_shadows::lower_shadow_properties(&doc.root_component, &doc.local_registry, diag);
|
||||
passes::default_geometry::default_geometry(&doc.root_component);
|
||||
passes::default_geometry::default_geometry(&doc.root_component, diag);
|
||||
passes::apply_default_properties_from_style::apply_default_properties_from_style(
|
||||
&doc.root_component,
|
||||
&mut type_loader,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue