Unexpected ScaleType.Slice Behavior — Video Included, Tips & Solutions Needed

Hi everyone,

I’m currently running into unexpected behavior when using ScaleType = Enum.ScaleType.Slice on a UI element. I’ve set up everything as intended (including SliceCenter), but the result doesn’t behave the way I expect when resizing or scaling the UI.

:movie_camera: I’ve recorded a video demonstrating the issue, which shows exactly how the UI responds.


:gear: Setup:

  • Object: ImageLabel
  • ScaleType: Slice
  • SliceCenter is set correctly based on the image’s border size
  • PNG is correctly formatted and uncompressed
  • Behavior becomes inconsistent when resizing/scaling the parent UI

:mag: Problem:

Despite configuring everything properly, the UI doesn’t preserve corners as it should, or sometimes scales incorrectly in ways that don’t match how SliceType.Slice is supposed to behave. The video shows these issues clearly.


:question:What I’m Looking For:

  • Any known quirks or limitations with ScaleType.Slice?
  • Tips for preparing slice-compatible images
  • Suggestions on what might be going wrong based on the video
  • If you’ve run into this before, how did you solve it?