Capture · Roots: the roots round 2 missed
A sweep that read every render found 28 roots still on w_full, reached by 64 components: the field button under Select and every picker, the checked and mention fields, the slider track, NumberInput, Steps, the state views, the agent previews, and every chart and finance frame. All drop it. LivePreview's size_full becomes h_full, since its card no longer fills. Every host of those roots was listed and read, 231 in all. Five tests that mounted a picker as the window root sit in a size_full box, the index manager gives its method select a flex_1 box, and the notification center and the gallery's state frames stack their state views in a column so they stretch. Each dropped root carries a debug selector, and six chapter tests mount 43 components in a padded card whose column is measured by content, through layout::tests::narrow_width: each root must take the full 240px. With w_full back on the roots, all six fail. AGENTS.md names the roots that keep w_full and why: picture frames that keep a ratio, and rows that hand a text field its share.
This commit is contained in:
1 parent
ad98ca7746
commit
a6f9a7b77b
43 files changed
+465
-108
No files matched your search
@@ -358,7 +358,7 @@ pub fn empties(cx: &mut App) -> impl IntoElement + use<> {
|
||||
.min_w_0()
|
||||
.h_80()
|
||||
.flex()
|
||||
.items_center()
|
||||
.flex_col()
|
||||
.justify_center()
|
||||
.rounded(theme.radius(Radius::Lg))
|
||||
.border_1()
|
||||
|
||||
@@ -26,7 +26,7 @@ fn frame(cx: &App) -> Div {
|
||||
.min_w_0()
|
||||
.h_80()
|
||||
.flex()
|
||||
.items_center()
|
||||
.flex_col()
|
||||
.justify_center()
|
||||
.rounded(theme.radius(Radius::Lg))
|
||||
.border_1()
|
||||
|
||||
Reference in new issue
Block a user