Enum Control.LayoutDirectionEnum
- Namespace
- Godot
- Assembly
- GodotSharp.dll
public enum Control.LayoutDirectionEnum : long
Fields
ApplicationLocale = 1
Automatic 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 = 0
Automatic layout direction, determined from the parent control layout direction.
[Obsolete("Use 'Godot.Control.LayoutDirectionEnum.ApplicationLocale' instead.")] Locale = 1
Ltr = 2
Left-to-right layout direction.
Max = 5
Represents the size of the Control.LayoutDirectionEnum enum.
Rtl = 3
Right-to-left layout direction.
SystemLocale = 4
Automatic 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.