From 382ac2c70bd35951ab081dd9b2c4d00e6589880a Mon Sep 17 00:00:00 2001 From: Nils Hausfeld Date: Fri, 20 Sep 2024 21:00:34 +0200 Subject: [PATCH] - Center alignment for surface comment header --- Source/Editor/Surface/SurfaceComment.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/Editor/Surface/SurfaceComment.cs b/Source/Editor/Surface/SurfaceComment.cs index 54c438fe3..d072ee28e 100644 --- a/Source/Editor/Surface/SurfaceComment.cs +++ b/Source/Editor/Surface/SurfaceComment.cs @@ -74,6 +74,7 @@ namespace FlaxEditor.Surface Visible = false, Parent = this, EndEditOnClick = false, // We have to handle this ourselves, otherwise the textbox instantly loses focus when double-clicking the header + HorizontalAlignment = TextAlignment.Center, }; }