From d1db06a9bb8da631fdc5a589a684a2bc2aa0180b Mon Sep 17 00:00:00 2001 From: Chandler Cox Date: Mon, 29 Apr 2024 19:44:49 -0500 Subject: [PATCH] Change text alignment to far on some control transform properties --- Source/Editor/CustomEditors/Dedicated/UIControlEditor.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Editor/CustomEditors/Dedicated/UIControlEditor.cs b/Source/Editor/CustomEditors/Dedicated/UIControlEditor.cs index 5db974240..d517d12fd 100644 --- a/Source/Editor/CustomEditors/Dedicated/UIControlEditor.cs +++ b/Source/Editor/CustomEditors/Dedicated/UIControlEditor.cs @@ -678,7 +678,7 @@ namespace FlaxEditor.CustomEditors.Dedicated { var grid = UniformGridTwoByOne(el); grid.CustomControl.SlotPadding = new Margin(5, 5, 1, 1); - var label = grid.Label(text); + var label = grid.Label(text, TextAlignment.Far); var editor = grid.Object(values); if (editor is FloatEditor floatEditor && floatEditor.Element is FloatValueElement floatEditorElement) {