-
Notifications
You must be signed in to change notification settings - Fork 74
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Invalidate the layout when the flex container's margin changes (#2539)
* Invalidate the layout when the flex container's margin changes Also when a spacer's width or height changes. * Make the new function open, not abstract * More test snapshots * More missing snapshots
- Loading branch information
1 parent
dc4fa22
commit f8f0f07
Showing
45 changed files
with
167 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
...ut.composeui_ComposeUiFlexContainerTest_RTL_testColumnMarginChanges_nonzero.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions
3
...ayout.composeui_ComposeUiFlexContainerTest_RTL_testColumnMarginChanges_zero.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions
3
...ayout.composeui_ComposeUiFlexContainerTest_RTL_testRowMarginChanges_nonzero.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions
3
...d.layout.composeui_ComposeUiFlexContainerTest_RTL_testRowMarginChanges_zero.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions
3
...layout.composeui_ComposeUiFlexContainerTest_testColumnMarginChanges_nonzero.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions
3
...od.layout.composeui_ComposeUiFlexContainerTest_testColumnMarginChanges_zero.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions
3
...od.layout.composeui_ComposeUiFlexContainerTest_testRowMarginChanges_nonzero.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions
3
...dwood.layout.composeui_ComposeUiFlexContainerTest_testRowMarginChanges_zero.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
...s/__Snapshots__/UIViewFlexContainerTestHost/testColumnMarginChanges.Nonzero.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions
3
...ests/__Snapshots__/UIViewFlexContainerTestHost/testColumnMarginChanges.Zero.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions
4
...UIViewFlexContainerTestHost/testColumnWithUpdatedCrossAxisAlignment.FlexEnd.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions
3
...ests/__Snapshots__/UIViewFlexContainerTestHost/testRowMarginChanges.Nonzero.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions
3
...ewTests/__Snapshots__/UIViewFlexContainerTestHost/testRowMarginChanges.Zero.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
...dwood.layout.view_ViewFlexContainerTest_RTL_testColumnMarginChanges_nonzero.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions
3
....redwood.layout.view_ViewFlexContainerTest_RTL_testColumnMarginChanges_zero.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions
3
....redwood.layout.view_ViewFlexContainerTest_RTL_testRowMarginChanges_nonzero.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions
3
...ash.redwood.layout.view_ViewFlexContainerTest_RTL_testRowMarginChanges_zero.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions
3
...h.redwood.layout.view_ViewFlexContainerTest_testColumnMarginChanges_nonzero.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions
3
...cash.redwood.layout.view_ViewFlexContainerTest_testColumnMarginChanges_zero.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions
3
...cash.redwood.layout.view_ViewFlexContainerTest_testRowMarginChanges_nonzero.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions
3
...pp.cash.redwood.layout.view_ViewFlexContainerTest_testRowMarginChanges_zero.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions
3
....layout.composeui_ComposeUiLazyListTest_RTL_testColumnMarginChanges_nonzero.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions
3
...ood.layout.composeui_ComposeUiLazyListTest_RTL_testColumnMarginChanges_zero.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions
3
...ood.layout.composeui_ComposeUiLazyListTest_RTL_testRowMarginChanges_nonzero.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions
3
...edwood.layout.composeui_ComposeUiLazyListTest_RTL_testRowMarginChanges_zero.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions
3
...wood.layout.composeui_ComposeUiLazyListTest_testColumnMarginChanges_nonzero.png
Oops, something went wrong.
3 changes: 3 additions & 0 deletions
3
...redwood.layout.composeui_ComposeUiLazyListTest_testColumnMarginChanges_zero.png
Oops, something went wrong.
3 changes: 3 additions & 0 deletions
3
...redwood.layout.composeui_ComposeUiLazyListTest_testRowMarginChanges_nonzero.png
Oops, something went wrong.
3 changes: 3 additions & 0 deletions
3
...sh.redwood.layout.composeui_ComposeUiLazyListTest_testRowMarginChanges_zero.png
Oops, something went wrong.
3 changes: 3 additions & 0 deletions
3
...ots__/UIViewLazyListAsFlexContainerTestHost/testColumnMarginChanges.Nonzero.png
Oops, something went wrong.
3 changes: 3 additions & 0 deletions
3
...pshots__/UIViewLazyListAsFlexContainerTestHost/testColumnMarginChanges.Zero.png
Oops, something went wrong.
3 changes: 3 additions & 0 deletions
3
...pshots__/UIViewLazyListAsFlexContainerTestHost/testRowMarginChanges.Nonzero.png
Oops, something went wrong.
3 changes: 3 additions & 0 deletions
3
...Snapshots__/UIViewLazyListAsFlexContainerTestHost/testRowMarginChanges.Zero.png
Oops, something went wrong.
3 changes: 3 additions & 0 deletions
3
...ut.view_ViewLazyListAsFlexContainerTest_RTL_testColumnMarginChanges_nonzero.png
Oops, something went wrong.
3 changes: 3 additions & 0 deletions
3
...ayout.view_ViewLazyListAsFlexContainerTest_RTL_testColumnMarginChanges_zero.png
Oops, something went wrong.
3 changes: 3 additions & 0 deletions
3
...ayout.view_ViewLazyListAsFlexContainerTest_RTL_testRowMarginChanges_nonzero.png
Oops, something went wrong.
3 changes: 3 additions & 0 deletions
3
...zylayout.view_ViewLazyListAsFlexContainerTest_RTL_testRowMarginChanges_zero.png
Oops, something went wrong.
3 changes: 3 additions & 0 deletions
3
...layout.view_ViewLazyListAsFlexContainerTest_testColumnMarginChanges_nonzero.png
Oops, something went wrong.
3 changes: 3 additions & 0 deletions
3
...azylayout.view_ViewLazyListAsFlexContainerTest_testColumnMarginChanges_zero.png
Oops, something went wrong.
3 changes: 3 additions & 0 deletions
3
...azylayout.view_ViewLazyListAsFlexContainerTest_testRowMarginChanges_nonzero.png
Oops, something went wrong.
3 changes: 3 additions & 0 deletions
3
...d.lazylayout.view_ViewLazyListAsFlexContainerTest_testRowMarginChanges_zero.png
Oops, something went wrong.