Within some frames with auto layout, elements are placed with strange rounding to 2 decimal places

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”.
image

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,