Page 1 of 1

Accordion - resizing panels?

Posted: Thu Dec 03, 2020 4:49 pm
by syd
Hey,

i have an accordion with text as content in multiple panels. The textboxes have different heights/lengths. By default the Accordion doesnt resize the panel contents, for example, when the text is quiet short (shorter then the longest text) there is a long empy space until the next panel-link begins. And I can only change the length by changing the length of the entire accordion.

Is there a possiblity where the content of the panel automaticly changes its size to fit the content?

Thx, syd.

Re: Accordion - resizing panels?

Posted: Thu Dec 03, 2020 5:00 pm
by Pablo
If you use the accordion is a flexible layout (for example with layout grids) then the accordion height will automatically be adjusted to the height of the content.

Demo:
https://www.wysiwygwebbuilder.com/suppo ... ydark.html

Re: Accordion - resizing panels?

Posted: Thu Dec 03, 2020 6:07 pm
by syd
Thx for the quick response.

Do you mean i use a flexible layout inside the accordeon, or shall I put the Accordeon inside a flexible layout?

Re: Accordion - resizing panels?

Posted: Thu Dec 03, 2020 6:19 pm
by crispy68
Put accordion inside a layout grid.

Re: Accordion - resizing panels?

Posted: Thu Dec 03, 2020 6:31 pm
by syd
Alright, but I forgot to mention that the Accordion is inside a "Tabs"-Object. I can't figure out how to put a flexible-thing inside a tab. Is this even possible?

Re: Accordion - resizing panels?

Posted: Thu Dec 03, 2020 6:36 pm
by Pablo
Set 'position children' to 'floating'

Re: Accordion - resizing panels?

Posted: Thu Dec 03, 2020 6:37 pm
by syd
Thx. Of the Tabs? Of the Accordion?

Re: Accordion - resizing panels?

Posted: Thu Dec 03, 2020 6:38 pm
by Pablo
Both

Re: Accordion - resizing panels?

Posted: Thu Dec 03, 2020 6:50 pm
by syd
Alright works. Thank you.