Change text alignment to far on some control transform properties

This commit is contained in:
Chandler Cox
2024-04-29 19:44:49 -05:00
parent 1c1d2fd96f
commit d1db06a9bb

View File

@@ -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)
{