Change dimensions on click

Put your questions here on how to do things in ProtoShare.
timssewell
Posts: 29
Joined: Mon Aug 19, 2013 8:40 am

Change dimensions on click

Postby timssewell » Tue Aug 20, 2013 2:29 pm

Is it possible to change a box/containers dimensions based upon an action like clicking a button?

Thanks

Nick Jennings
Posts: 165
Joined: Mon May 14, 2012 12:06 pm

Re: Change dimensions on click

Postby Nick Jennings » Wed Aug 21, 2013 9:58 am

Hi,

Components themselves cannot change dimensions, but what you can do is simulate this action using states.

You will need to have two identical boxes/containers, one with default dimensions and one with the dimensions you would want it to have after the button is clicked. You would the hide the first component and make the second component visible when the state changes value, similar to a popup.

If you are not familiar with states, you may want to change out this tutorial video on States: http://www.youtube.com/watch?feature=pl ... qJ9my3ubxo

If you have any questions, please let us know?
Nick Jennings
customerservice@protoshare.com
Site9, Inc. / Customer Support
blog.protoshare.com | twitter.com/protoshare


Return to “How Do I...”

Who is online

Users browsing this forum: No registered users and 3 guests

cron