Enum Control.LayoutDirectionEnum
- Namespace
- Godot
- Assembly
- GodotSharp.dll
public enum Control.LayoutDirectionEnum : long
Fields
ApplicationLocale = 1Automatic layout direction, determined from the current locale. Right-to-left layout direction is automatically used for languages that require it such as Arabic and Hebrew, but only if a valid translation file is loaded for the given language (unless said language is configured as a fallback in
ProjectSettings.internationalization/locale/fallback). For all other languages (or if no valid translation file is found by Godot), left-to-right layout direction is used. If using [TextServerFallback] (ProjectSettings.internationalization/rendering/text_driver), left-to-right layout direction is always used regardless of the language. Right-to-left layout direction can also be forced usingProjectSettings.internationalization/rendering/force_right_to_left_layout_direction.Inherited = 0Automatic layout direction, determined from the parent control layout direction.
[Obsolete("Use 'Godot.Control.LayoutDirectionEnum.ApplicationLocale' instead.")] Locale = 1Ltr = 2Left-to-right layout direction.
Max = 5Represents the size of the Control.LayoutDirectionEnum enum.
Rtl = 3Right-to-left layout direction.
SystemLocale = 4Automatic layout direction, determined from the system locale. Right-to-left layout direction is automatically used for languages that require it such as Arabic and Hebrew, but only if a valid translation file is loaded for the given language.. For all other languages (or if no valid translation file is found by Godot), left-to-right layout direction is used. If using [TextServerFallback] (
ProjectSettings.internationalization/rendering/text_driver), left-to-right layout direction is always used regardless of the language.