Hey @Riccardo7, Thank you for bringing this to our attention! I really appreciate you sharing the screenshot and your efforts in troubleshooting. I understand that it might seem a bit unusual.
Based on your explanation, it appears that the Auto layout frame’s height is set as a decimal value(361.99), despite the settings as below. Please let us know if I misunderstood anything!
- Within the Auto layout frame, there are an image and two text objects.
- These objects have integer values for the dimensions (X, Y).
- The auto layout frame resizing settings are set to ohug] both horizontally and vertically.
- The padding and gap within the auto layout are integers.
I tried to replicate the issue on my end but haven’t been able to do so yet. I will consult with my team internally to see if we can provide further assistance on this matter. We will keep you updated once we have more information.
We also welcome any insights or suggestions from our community!
Thank you,
Hello,
Sorry I am only responding now.
I confirm the information you described. I would add that:
- The texts have width “fill” and height “hug”;
- If I change the width of the texts from “fill” to “fixed” (without changing the value), they are positioned correctly with respect to the padding. However, the final width of the container remains with a float value that I do not understand.
- If I try to change the height of the texts from “hug” to “fixed” nothing changes.
Thanks for the support.
Sorry for the many replies but as a new user I could only post one schreenshot at a time
Hi @Riccardo7, Thank you for getting back to us. I really appreciate you sharing those screenshots. I apologize for the delayed response.
I tried to replicate the issue but wasn’t successful. However, after looking into it internally, I found two settings that might help prevent the frame property from displaying decimals for pixels.
Snap to Pixel Grid
Enabling the ‘Snap to Pixel Grid’ setting, it should align objects to the underlying grid when placing or moving them.
You can find more details here: Snap to pixel grid
Round to Pixel
Select the top-level frame, go to the main menu, and choose Quick Actions. Then, search for “Round to pixel”.

I hope these information help! If not, could you please provide a quick video recording of the issue you’re facing? Showing the full Figma screen, including the left and right panels, will help our community visualize the problem and assist us in reproducing it for further investigation.
Alternatively, I came across some plugins from our community that might be able to assist you:
Additionally,I found a feature request from other community members regarding decimal pixels here:
Preventing Resizing to Decimal Pixels
Feel free to check it out.
Hope to hear from you soon!
Thanks,