Hi @Smith_Samuel_D, thanks for reaching out!
This is currently expected behavior. When using constraints, child elements are restricted to growing or shrinking in increments of 1 pixel and cannot have subpixel dimensions or positions as a result of the constraints. I’ve updated your topic for clarity and updated it to a feature request. We’ll pass this onto the team for consideration.
As a temporary solution, if you need your elements to resize with fractional pixels, especially when they need to "fill" a container, use Auto Layout for the parent frame:
- Convert the parent to Auto Layout: The constrained element behavior is generally observed in standard frames. In Auto Layout frames, the "Fill container" resizing option handles fractional sizing correctly.
- Set child to "Fill container": Within the Auto Layout parent, set the child element's horizontal and/or vertical resizing to "Fill container" in the right sidebar. This will allow it to adapt to fractional pixel values when the parent is resized.
Using Auto Layout often provides more robust and predictable responsive behavior compared to constraints. Thanks again for your feedback and hope this helps!