Example of a UI I’ve created with a UIScale of 1 and 0 applied padding
Example of when I change the padding to 100 on the left, with UIScale of 1.
Example of 100 Padding on the Left, but changing the UIScale to 0.5.
Notice how there is now padding on the right. There is no padding applied on the right, and the UI fully fills the screen.
In order to get the behavior in which I imagine, I have to apply a reverse padding to the other side.
The above example demonstrates a UI with 100 LeftPadding and -50 RightPadding to make up for this bug.
Below is an example of .25 UIScale and 100 Left Padding. The padding needed on the right is -75.
The formula to correct the opposite side’s padding seems to be (LeftPadding * UIScale) - LeftPadding
Example place file:
UIScalePaddingRepro.rbxl (57.1 KB)
Important notes:
- This also occurs with TopPadding
- This does not occur with RightPadding or BottomPadding