Skip to content

Commit fa5fe92

Browse files
committed
Update README.md
1 parent ed796c1 commit fa5fe92

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ view12.align(.ToTheLeftMatchingTop, relativeTo: anchorView, padding: padding, wi
111111

112112
## Align and fill
113113

114-
You don't always know or what to specify the size of a view that you want to layout relative to another, but rather you want to either fill the width, height, or the entire rest of the superview, after aligning with the sibling. Combined with all the different alignment types discussed earlier, we're starting to see how more complex layouts can be built very easily:
114+
You don't always know or want to specify the size of a view that you want to place relative to another. You may want to fill the width, height, or the entire rest of the superview after aligning with the sibling. Using `alignAndFillWidth()`, `alignAndFillHeight()`, and `alignAndFill()`, you can do just that! Combined with the different alignment types discussed earlier, we're starting to see how more complex layouts can be built very easily:
115115

116116
```swift
117117
view2.alignAndFillWidth(align: .ToTheRightMatchingTop, relativeTo: view1, padding: padding, height: size / 2.0)
@@ -131,4 +131,4 @@ view6.alignAndFill(align: .ToTheLeftMatchingTop, relativeTo: view5, padding: pad
131131

132132
## License
133133

134-
The source is made available under the MIT license. See LICENSE.txt for details.
134+
The source is made available under the MIT license. See LICENSE.txt for details.

0 commit comments

Comments
 (0)