Hello,
I want to create a mute button but it does not center in the stroke frame.
The position and size are on scale.
I tryed deleting the UIAspectRationConstraint but another problem appears: the stroke and the button becomes too thin:
Your text button should be a child (place inside of) of your “Stroke” frame… this way its sizing and scale and position will follow relative to its parent, the “Stroke”. This will also help your UIConstraints follow the parent.
The way you have it set up now, it is a child of “Mute” screengui and so the constraints and the scaling and position will all follow that element and not the “Stroke” frame.