Problem with properly scaling UIAspect constrained buttons to parent frame

I have a “menu” frame inside a ScreenGui that holds 4 buttons using a UIListLayout. Here is an example of one button inside the menu frame:

Here is what the menu looks like under normal circumstances:

Here is what it looks like when I shrink my window vertically:

I assume these buttons to get smaller to stay within the bounds of their parenting frame object but that is not the case here, and they only seem to scale smaller in regards to the screen size (when the top or bottom of the screen ends up touching them)

Everything is using scale, and relativeXY SizeConstraint, the UIAspectRatioConstraint is set to:

  • AspectType: FitWithMaxSize
  • DominantAxis: Width

I have attempted to change aspectType to ScaleWithParentSize to no success, as well as changing the dominant axis to height.

I am very confused as to why this is happening, any help would be appreciated, as well if you need more info I can supply that.

A UIAspectRatioConstraint has to be under the “menuFrame” as well.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.