From 4cf2bba84061c4edb5a982fa214f83ed79f484f9 Mon Sep 17 00:00:00 2001 From: Ruan Lucas <79365912+RuanLucasGD@users.noreply.github.com> Date: Thu, 20 Jul 2023 13:19:18 -0400 Subject: [PATCH] fix edit buttons style on spline editor --- Source/Editor/CustomEditors/Dedicated/SplineEditor.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/Editor/CustomEditors/Dedicated/SplineEditor.cs b/Source/Editor/CustomEditors/Dedicated/SplineEditor.cs index 6d954949c..0803f93d9 100644 --- a/Source/Editor/CustomEditors/Dedicated/SplineEditor.cs +++ b/Source/Editor/CustomEditors/Dedicated/SplineEditor.cs @@ -319,6 +319,8 @@ namespace FlaxEditor.CustomEditors.Dedicated selectedPointsGrid.CustomControl.SlotsHorizontally = 3; selectedPointsGrid.CustomControl.SlotsVertically = 2; + selectedPointsGrid.Control.Size *= new Float2(1, 2); + _linearTangentButton = selectedPointsGrid.Button("Linear"); _freeTangentButton = selectedPointsGrid.Button("Free"); _alignedTangentButton = selectedPointsGrid.Button("Aligned");