Size
Its width and height in points: exact, or the smallest and largest it can be.
Group: Layout · Works on: Every view
#Add it
Select the view, open the Inspector's Style tab, open All modifiers at the bottom and tap Add modifier. Search for “Size” and tap it. Its row opens under All modifiers, with its settings.
#Settings
| Setting | What it does |
|---|---|
| Width | An exact width in points. Empty lets it size itself. |
| Height | An exact height in points. Empty lets it size itself. |
| Alignment | Where it sits when the size is bigger than it: top left, center, bottom right and so on. |
| Min Width | The narrowest it can get, in points. |
| Ideal Width | The width it asks for when it's free to choose, in points. |
| Max Width | The widest it can grow, in points. |
| Min Height | The shortest it can get, in points. |
| Ideal Height | The height it asks for when it's free to choose, in points. |
| Max Height | The tallest it can grow, in points. |
#Change, move or remove it
Tap the modifier's row under All modifiers to open or close its settings. Its ⋯ menu has Move Up, Move Down and Remove.
Order matters: modifiers apply top to bottom, so padding before a background makes the background bigger.