Accordion - resizing panels?

Issues related to hyperlinks and web site navigation.
Forum rules
PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901

MUST READ:
http://www.wysiwygwebbuilder.com/links.html
Post Reply
syd
 
 
Posts: 15
Joined: Wed Nov 25, 2020 3:41 pm

Accordion - resizing panels?

Post 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.
User avatar
Pablo
 
Posts: 21575
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Accordion - resizing panels?

Post 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
syd
 
 
Posts: 15
Joined: Wed Nov 25, 2020 3:41 pm

Re: Accordion - resizing panels?

Post 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?
User avatar
crispy68
 
 
Posts: 2737
Joined: Thu Oct 23, 2014 12:43 am
Location: Acworth, GA
Contact:

Re: Accordion - resizing panels?

Post by crispy68 »

Put accordion inside a layout grid.
syd
 
 
Posts: 15
Joined: Wed Nov 25, 2020 3:41 pm

Re: Accordion - resizing panels?

Post 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?
User avatar
Pablo
 
Posts: 21575
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Accordion - resizing panels?

Post by Pablo »

Set 'position children' to 'floating'
syd
 
 
Posts: 15
Joined: Wed Nov 25, 2020 3:41 pm

Re: Accordion - resizing panels?

Post by syd »

Thx. Of the Tabs? Of the Accordion?
User avatar
Pablo
 
Posts: 21575
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Accordion - resizing panels?

Post by Pablo »

Both
syd
 
 
Posts: 15
Joined: Wed Nov 25, 2020 3:41 pm

Re: Accordion - resizing panels?

Post by syd »

Alright works. Thank you.
Post Reply