Skip to content

Commit bd34361

Browse files
authored
Update layout.md (dotnet#20825)
arbitary -> arbitrary
1 parent b5e8d92 commit bd34361

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/design/layout.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,7 @@ Anything that was marked "AndExpand" should go in its own row or column with a s
453453

454454
### ScrollView Changes
455455

456-
The other main difference is that the Xamarin.Forms ScrollView does not behave consistently when stacking. It has some arbitary limits on minimum size which depend partially on its content, and it will compress to allow other items to fit on the screen inside a StackLayout in ways that are inconsistent and sometimes surprising.
456+
The other main difference is that the Xamarin.Forms ScrollView does not behave consistently when stacking. It has some arbitrary limits on minimum size which depend partially on its content, and it will compress to allow other items to fit on the screen inside a StackLayout in ways that are inconsistent and sometimes surprising.
457457

458458
MAUI, on the other hand, simply allows the ScrollView to expand its viewport to the size of its content unless otherwise constrained. This means that inside of a VerticalStackLayout, which can expand infinitely, a ScrollView will simply set the height of its viewport to the height of the contnet; it will not scroll. This can be a little surprising for Forms users. Remember, StackLayouts simply continue in their stacking direction until they run out of content; they do not subdivide their container along that axis. If you want to limit your content to a constrained space in a direction, you should use another control, like a Grid.
459459

0 commit comments

Comments
 (0)