Skip to main content
Question

Why Doesn’t My Figma Component’s Bounding Box Enclose All Elements?

  • February 11, 2025
  • 3 replies
  • 176 views

ruben esquivel

First I created a component of the Description header and paragraph text and then I added in the calendar. Whenever i select the component the square only goes around the text part. I unchecked and then checked the clip content box and nothing works. 

 

 

At the first the purble box was going over the “Event Managment” also in the beginning but i was trying to fix it to go over the calendar too but it didnt work and made it now go less.

I know i could start over on this component but i thought about it and there going to be times where i create a component and then i might want add something to the original component like a calendar icon for this example. So I want know how to create a component correctly and add in something correctly and when i select the component the purple square goes over the whole thing.  

 

This topic has been closed for replies.

3 replies

Nellya
  • Power Member
  • 714 replies
  • February 11, 2025

You can add auto layout to your component or just click Resize to fit 

 


ruben esquivel
  • Author
  • New Member
  • 1 reply
  • February 11, 2025

Perfect it worked thank you so much. I wonder why figma does this or makes it to where you have to click on Resize to fit.


Nellya
  • Power Member
  • 714 replies
  • February 11, 2025

Perfect it worked thank you so much. I wonder why figma does this or makes it to where you have to click on Resize to fit.

Designer don’t always want to have a frame size that fits its content, sometimes paddings are need to be added. So it's pretty useful to be able to choose a frame size by yourself, but not automatically by its content.