I want to use spritesheets to pack lots of different icons together, and I sometimes want to display these icons tiled on an ImageLabel using ImageLabel.ScaleType = Enum.ScaleType.Tile
. At the moment this does not work because of how both features are implemented:
(from my original bug report ImageRectOffset/Size does not work with Tile ScaleType)
Another way of looking at this problem is that the way an image is displayed (ScaleType) is coupled together with the way image assets are stored, managed, etc (spritesheets via ImageRectOffset/Size).
So at the moment if I want to achieve image tiling I need to A) reupload the tiled portion of the spritesheet as an individual image asset which can be used with the Tile ScaleType, or B) make a separate ImageLabel for every tile with each ImageLabel configured to show the same sprite from the spritesheet.
Being a bit more nitpicky on the details, from my perspective as a developer the ImageRectOffset/Size and ScaleType properties should have no effect on each other: the ImageRectOffset/Size properties get applied first (to decide which part of the spritesheet to use) and the ScaleType property last (to decide how to stretch the rendered image). All the other ScaleTypes seem to work fine in this way, it’s just the Tile ScaleType that doesn’t play nicely.