Skip to main content
Solved

Elements in component don't scale


So I’ve made some components with multiple items and when I try and size the component up or down, all the elements don’t scale with the frame of the component.

In the video:
Example on the left - I’m using auto-layout but haven’t dialed it in (just to test)
Example on the right - no auto-layout (some elements scale and some don’t?)

Best answer by Raphael_M

For auto layout, you have to set width and height to fill for it to scale in both ways.

For the non-auto layout, you have to set the constraints to scale, or left and right and top and bottom for it to scale in both ways.

View original

6 replies

  • Author
  • 7 replies
  • May 30, 2024

NEVERMIND, I found the ‘scale’ tool. I’m still curious why in example on the right some of the elements did scale with the “frame” or whatever you’d call that BUT I did technically find the solution to my question.


Raphael_M
  • Active Member
  • 328 replies
  • Answer
  • May 31, 2024

For auto layout, you have to set width and height to fill for it to scale in both ways.

For the non-auto layout, you have to set the constraints to scale, or left and right and top and bottom for it to scale in both ways.


  • Author
  • 7 replies
  • June 12, 2024

Thanks for your reply


  • Author
  • 7 replies
  • June 12, 2024

I do want to ask, why are some elements scaling and some are not. I do have the settings you mentioned in place for the autolayout example.


Raphael_M
  • Active Member
  • 328 replies
  • June 13, 2024

You’ll have to check the nested layers to if they are also in scale. Because there are times that you’re just scaling the container of the element and have the element in fixed.


Keoca_Maoec
  • New Member
  • 2 replies
  • March 10, 2025

Scaling elements within a component can be tricky, especially when you're trying to ensure everything adjusts properly. It’s crucial to understand the difference between scaling and growing, and there’s a lot of valuable insight in understanding the start up vs scale up process. Many times, people confuse the two, but knowing when and how to scale can make all the difference in building a robust and adaptable system.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings