Hi, I have observed this behavior and I is extremely confusing to me. It demands me 200% brain power every time I come accross this.
I have a PARENT group, and one CHILD element inside.
When parent is set to ROW: by default the child stretches horizontaly and shrinks vertically.
When parent is set to COL: by default the child streches horizontaly and stretches vertically as well.
Parent is a 300x300 square
Child is set as:
- vertical: min: 100 max:200
- horizontal: min:100 max:200
When parent is set to ROW, child is 200vertical 100horizontal
When parent is set to COL, child is 200vertical 200horizontal
My brains goes :
no matter if the parent container is a ROW or COL : everything inside stretches in the same dimension that the parent. Parent is ROW = everything stretches horizontaly / Parent is COL, everything stretches verticaly. → : ok that’s easy to understand. Things stretches in the same dimension that the parent container.
hey but what about the other dimension? Well… the other dimension, can’t be defined by one single rule and we need 2 rules depending on whether the parent is a ROW or a COL.
→ huh…, really, what?
Confusion of the highest order is happening in me ATM
When I set a MIN and MAX for something, I expect the something to either by default goes to minimum, or to maximum. But I don’t expect it to “in some conditions” uses its minimum value, and for some other conditions use its maximum value.
Is there something I am missing, or any tip or way of explaining the thing so I can understand better?