Skip to content

Commit

Permalink
Merge pull request #18 from 2sem/fix-double-will-of-view
Browse files Browse the repository at this point in the history
Fix double will of UIView basics
  • Loading branch information
jrasmusson authored Nov 29, 2023
2 parents 1be805f + ed92042 commit d01267e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion basics/UIView/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ class ViewController: UIViewController {

### Sticking it in a stackView

When you stick it in a `UIStackView` you may need to adjust the CHCR (i.e. make it hug) else it will will the stackView depending on what settings you use in your stackView (i.e. distribution/alignment = fill).
When you stick it in a `UIStackView` you may need to adjust the CHCR (i.e. make it hug) else it will fill the stackView depending on what settings you use in your stackView (i.e. distribution/alignment = fill).

For example if we setup our stackView to take up the entire view, and default it to fill, the view inside it will expand to the full view accordingly.

Expand Down

0 comments on commit d01267e

Please sign in to comment.