• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

SVG State view is not allowing me to resize

Participant ,
May 26, 2022 May 26, 2022

Copy link to clipboard

Copied

I have an SVG being used as a button.

In state view I would like the rollOver state to enlarge, however the everything under Properties/Options/ Transform is grayed/unresponsive, in fact sizes do not even appear as an option if they were active.....

How can I adjust the size of other states of an SVG?

danielb51742821_0-1653568448898.png

Also, In properties / Style there are Size options that I dont see make any achanges. What are these Size options for?

danielb51742821_1-1653568615633.png

Thanks!

 

Views

139

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 26, 2022 May 26, 2022

Copy link to clipboard

Copied

If you have a bitmap image or SVG defined to be used as button, the size and position of the Rollover and Down state are locked to the Normal state, same as for other types of buttons. Did you look at the SVG button on the stage? Like all buttons,  it normally has a lock icon in Rollover and Down state like this:

InbuitlStateLock.PNG

This is the same for all buttons, not only for SVGs used as button. You can edit its color (as shown above), you can replace the SVG by another SVG but the size (bounding box) and the position will be locked.

 

Possible workaround? Set the opacity in the Rollover (or Down) state to 0% and add the bigger SVG as extra object:

InBuilt2.PNG

 

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
May 26, 2022 May 26, 2022

Copy link to clipboard

Copied

I didnt know you could add another SVG in the rollover state. I will try that. Thanks,

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 26, 2022 May 26, 2022

Copy link to clipboard

Copied

LATEST

You can add as many objects as you want to any state. Only the basic button has the size and position locking on. I often even start with an empty Normal state for a button to avoid several restrictions. Have a look at:

Rotating button? - eLearning (adobe.com)

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Help resources