Hello everyone,
I have a Visio that automatically generates a child shape for each DVE that the main element has. I don't know in advance the number of DVEs that will be generated. I have a shape with the ChildrenPanel option set to WrapHorizontal and, for each child, I have the Margin set to a certain value.
When the DVE number increases a scroll bar appears. I would like the box itself to expand and avoid display all of the boxes instead of having to make the user scroll.
Any suggestions, besides making the box big from the start?
Thank you,
Ana
Hi Ana,
Whenever you're in need of dynamic sizing of a shape, you can rely on the grid layout. Specifying columns and rows with '*' or 'auto' allows them to scale dynamically (either to the container or to its content). The children shape can then be positioned inside a row and column, more info in the docs.
As indicated also in docs, there are some samples also available on the Ziine demo/reference platform.