Issue Type: Display
Impact: Moderate
Frequency: Often
Date First Experienced:
Date Last Experienced:
Reproduction Steps:
To reproduce:
- Create a new place
- Insert this rbxm file into StarterGui: TextLabel Wrapping Bug Report.rbxm (3.0 KB) (this is the ScreenGui, TextLabel, and UIScale from the video below)
- Run this code in the command bar:
game:GetService("TweenService"):Create(game.StarterGui.ScreenGui.TextLabel.UIScale, TweenInfo.new(5, Enum.EasingStyle.Linear), {Scale = 0.75}):Play()
Expected Behavior:
Text GuiObject text wrapping position should be the same for all UIScale.Scale values. The advantage of using UIScale for animations is that it allows values that use offset (Position, Size, TextSize, etc.) to have scale applied to them while still looking the same. TextWrapped ignores this by placing the line wrap position differently, which can make animations look bad.
Actual Behavior:
When UIScale.Scale is set to a value other than 1, any text GuiObjects that are affected by the UIScale can have their text wrapping position change. This can lead to text moving rapidly during UI animations that use UIScale.
I have had to disable the scaling animation on my game’s tutorial page because of this bug. The text jumping around is jarring in a case like this:
Workaround: