Page 1 of 1

Snap to size

Posted: Tue Feb 12, 2019 6:38 pm
by pacstar
Is there a way to get an item to "snap" to the size of the box it is in without having to drag it to size?

Thanks

Re: Snap to size

Posted: Tue Feb 12, 2019 7:03 pm
by Pablo
Which 'box' are you referring to?
Can you please be more specific?

There are several size tools in the Arrange menu.

Re: Snap to size

Posted: Tue Feb 12, 2019 7:36 pm
by pacstar
Hi Pablo,

I'm referring to a "box" within a flex grid. Sometimes a heading or a marquee etc, is smaller or larger than the box it is put in, and I need to grab an edge and stretch or shrink it to fill the whole box. It look like setting the flexbox forces it to, but setting the flexbox for each item over and over gets tedious. It would be nice to be able to click on "snap to size" and just have it just expand or shrink automatically.

Does that make sense?

Re: Snap to size

Posted: Tue Feb 12, 2019 8:39 pm
by Pablo
You can control the size of elements inside a flexbox container with the object's flexbox properties (flex grow/shrink etc).
There is no 'snap 'option. But you can use a flex basis of 100%
http://www.wysiwygwebbuilder.com/flexbox.html

Re: Snap to size

Posted: Tue Feb 12, 2019 10:07 pm
by pacstar
Pablo,

Yeah that's what I figured out. Is it possible to look at that as a feature to add later? Like a right click, 'snap to size' , or something like that? Just an idea.

Thanks again.

Re: Snap to size

Posted: Wed Feb 13, 2019 7:04 am
by Pablo
I'm sorry, HTML does not have such a option.

Re: Snap to size

Posted: Thu Feb 14, 2019 6:02 pm
by pacstar
Not sure if this is what you were answering to, but I was referring to the local file side while creating/designing the page, not the published side for the user of the web page. It's not HTML until it's published, right?

Thanks

Re: Snap to size

Posted: Thu Feb 14, 2019 6:17 pm
by Pablo
Yes, but the design concepts (like flexbox) are based on HTML.

Re: Snap to size

Posted: Thu Feb 14, 2019 6:46 pm
by pacstar
Got it,

Thanks