Use case:
I would like 2 component left and right. In my current setup, they are in a HLayout with width 50-50. I want them to take up available space in the parent container equally, but if the components are resized to a certain minimum width, (for example when the user makes the Browser smaller) want the right one to instead go under the left one.
I played around with TileLayout and that does indeed rearrange the tiles, but it only has a way to hardcode the size of all the tiles?
I haven't found any other way to accomplish this. I looked in the usecase, but all examples i could find was about changing the size of the components proportially in a hlayout/vlayout, not rearranging them.
Pointers much appreciated!
I would like 2 component left and right. In my current setup, they are in a HLayout with width 50-50. I want them to take up available space in the parent container equally, but if the components are resized to a certain minimum width, (for example when the user makes the Browser smaller) want the right one to instead go under the left one.
I played around with TileLayout and that does indeed rearrange the tiles, but it only has a way to hardcode the size of all the tiles?
I haven't found any other way to accomplish this. I looked in the usecase, but all examples i could find was about changing the size of the components proportially in a hlayout/vlayout, not rearranging them.
Pointers much appreciated!
Comment