UIPadding should affect ImageButtons

As a Roblox developer, it is currently too hard to create ImageButtons with a shrunken image in the center of it. This exists for TextButtons to shrink the size so text isn’t filled to the max with TextScaled enabled. ImageButtons on the other hand don’t allow me to do this.

If Roblox is able to address this issue, it would improve my development experience because I could create ImageButtons more easily without needing to add an ImageLabel inside of the button each time. UIPadding is a powerful feature that simulates adding an invisible Frame into its parent for its children, and it’d be a shame if I can’t use it to its possible potential.

Expected behavior, followed by actual behavior:
image image

Hierarchy

image

image

16 Likes