swiftlys2/docs/api/ai/
API Reference › Menu

MenuTextOverflow

Enum
Namespace: SwiftlyS2.Shared.Menu · Assembly: SwiftlyS2.CS2.dll
public enum MenuTextOverflow

What a component does with text wider than the space it is given.

View source
None

Leave the text alone and let the renderer deal with it.

0
ScrollLeftFade

Scroll towards the start, stopping once the tail is reached.

3
ScrollLeftLoop

Scroll towards the start, wrapping around forever.

5
ScrollRightFade

Scroll towards the end, stopping once the head is reached.

4
ScrollRightLoop

Scroll towards the end, wrapping around forever.

6
TruncateBothEnds

Keep the middle and drop both ends.

2
TruncateEnd

Cut the tail off and append an ellipsis.

1