how do min-*, max-* work in a layout #10054
Unanswered
mnpham2101
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have the following sample codes:
If I change the width of VerticalLayout, I would expect the
max-widthandmin-widhof MyComponent be respected, meaning they will not go over 300px or less than 200px.For example, when I used 500px for the Container,
MyComponentwidth is measured at 500px! It is stretched the entire width. Or when I use 100px for the Container,MyComponentwidth is then 100px, but not the min-width of 200px!Beta Was this translation helpful? Give feedback.
All reactions