Capture · Roots: the twelve roots round 1 found
Eleven more roots drop w_full: the docked ActionBar, MessageBubble's three arms, PromptInput, TitleBar, Tabs, the horizontal Divider with and without a label, DropZone and Playlist. Their hosts in the crate are blocks or flex columns. The gallery's docked ActionBar sits in an items_center column, so the demo gives it the width. AspectRatio keeps w_full, and AGENTS.md says why: taffy 0.9 follows a ratio from a set width, not from a stretch, and without one the image gallery's tiles and the ratio demo collapsed. Every page and scripted state was shot again at full width and at 280px and compared with the shots from before T44a. Nothing collapsed or shrank. The mail reader's attachments now wrap side by side, as their row asks.
This commit is contained in:
1 parent
81e73b79c1
commit
ad98ca7746
11 files changed
+7
-13
No files matched your search
@@ -171,6 +171,7 @@ pub fn action_bar(cx: &App) -> impl IntoElement + use<> {
|
||||
)
|
||||
.child(
|
||||
ActionBar::new()
|
||||
.w_full()
|
||||
.child(Button::new("bar-cancel", "Cancel").variant(ButtonVariant::Ghost))
|
||||
.child(Button::new("bar-save", "Save changes").primary()),
|
||||
),
|
||||
|
||||
Reference in new issue
Block a user