diff --git a/src/ui/layout/constraints.md b/src/ui/layout/constraints.md index f64e4cc614e..83d546ae5d3 100644 --- a/src/ui/layout/constraints.md +++ b/src/ui/layout/constraints.md @@ -69,8 +69,8 @@ The negotiation goes something like this: **Widget**: "Hey parent, what are my constraints?" -**Parent**: "You must be from `80` to `300` pixels wide, - and `30` to `85` tall." +**Parent**: "You must be from `0` to `300` pixels wide, + and `0` to `85` tall." **Widget**: "Hmmm, since I want to have `5` pixels of padding, then my children can have at most `290` pixels of width