It would be really useful if there was some sort of a built-in scrolling/sliding effect for text that exceeds the limits of text containers such as TextLabels
, TextButtons
, TextBoxes
, etc…
A great example of this effect can be viewed here.
Addition of this effect would make creating UI, that is compatible on all platforms, easier.
Toggling this effect would solve those situations where there is a conflict between AutomaticSize, TextWrapped, TextTruncate and other UI Constraints, meaning that the effect:
- Should be done in the label itself, the label’s size or position doesn’t change, the text itself does.
- Should respect UI constraints, for example: UIPadding should change the border where the effect starts and where it end.
- Should listen to
MaxVisibleGraphemes
. (Effect playback should be determined only by visible text) - On toggle, should set
TextWrapped
totrue
, setTextTruncate
toNone
, setTextScaled
tofalse
and limit the text container to one line only.
(Also, it would be great if the effect is customizable, example: having the ability to set easing styles, delay times between effect direction changes, effect speeds, etc…)