Community X.

Connect with other creators, share ideas, give feedback and get the latest product updates.

Oct 28

Help needed for stacking/flexbox settings

Newbie trying to figure out how to stack buttons on top of a territory map and have them scale proportionally. When I try stacking, as soon as I hit the 'Stack' button all of the elements become enormous and not stay within the confines of my container. Any suggestions would be most helpful.

Screen Recording 2020-10-28 at 3.30.31 PM
.mov
Download MOV • 22.59MB

2
Oct 28Edited: Oct 28

Hey,

Stack is good only for vertical alignment.

You can add container and place the map inside.

Set the container width as the with of the map and auto to height (the container height will come from the map height) .

Then give the map width of 100% so it fill the container.

Then move all the buttons inside the container on top the map and place them the way you want.

Set the buttons width and height to be in percentages (relative to the height and width of the container).



1

Oh! And here's a recording of what's happening without stacking/flexbox. Thanks anyone that might have an answer!

Screen Recording 2020-10-28 at 2.59.21 PM
.mov
Download MOV • 12.70MB

1

Matanya! You made a 10 minute explanation for me. Sooo nice. Thank you!

Editor X

Design your boldest creations.