Hello Isomorphic,
I'm looking for the suggested approach for this use case:
I have a HLayout as main element with three SectionsStacks with inner Layouts (HLayout and VLayout). These Layouts have a fixed width and height.
Currently, when resizing the browser window (or using a smaller resolution, the content is clipped. I most likely could change it to have a Scrollbar instead.
But what I would like to have is a "responsive layout" (at least it should look this way), so that I can say:
- "If the available width is less than x, switch the main HLayout to a VLayout with 2 HLayouts and have the three inner Layouts in '2 rows'."
- "If the available width is even less than y, switch the main HLayout to a VLayout have the three inner Layouts in '3 rows'."
- "If the available width increases, change the positioning again."
This does not corresponded to you Responsive Design showcase sample, but will be done with Event Handlers instead, I suppose.
Is that correct? Is there a best practice for this, eg. "Have all the needed Layouts ready and show()n, just call addMembers() and removeMembers() in the handler(s)"?
Thank you and best regards,
Blama
I'm looking for the suggested approach for this use case:
I have a HLayout as main element with three SectionsStacks with inner Layouts (HLayout and VLayout). These Layouts have a fixed width and height.
Currently, when resizing the browser window (or using a smaller resolution, the content is clipped. I most likely could change it to have a Scrollbar instead.
But what I would like to have is a "responsive layout" (at least it should look this way), so that I can say:
- "If the available width is less than x, switch the main HLayout to a VLayout with 2 HLayouts and have the three inner Layouts in '2 rows'."
- "If the available width is even less than y, switch the main HLayout to a VLayout have the three inner Layouts in '3 rows'."
- "If the available width increases, change the positioning again."
This does not corresponded to you Responsive Design showcase sample, but will be done with Event Handlers instead, I suppose.
Is that correct? Is there a best practice for this, eg. "Have all the needed Layouts ready and show()n, just call addMembers() and removeMembers() in the handler(s)"?
Thank you and best regards,
Blama
Comment