From 9809fa333601b1e1b73721055bb8388ba3006292 Mon Sep 17 00:00:00 2001 From: Variable <77773850+Variable-ind@users.noreply.github.com> Date: Wed, 1 Nov 2023 08:53:38 +0500 Subject: [PATCH] fixed ui of canvas preview container --- src/UI/CanvasPreviewContainer/CanvasPreviewContainer.tscn | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/UI/CanvasPreviewContainer/CanvasPreviewContainer.tscn b/src/UI/CanvasPreviewContainer/CanvasPreviewContainer.tscn index 5f3aebff2..a84b1fed5 100644 --- a/src/UI/CanvasPreviewContainer/CanvasPreviewContainer.tscn +++ b/src/UI/CanvasPreviewContainer/CanvasPreviewContainer.tscn @@ -86,12 +86,13 @@ index = 2 [node name="Animation" type="HBoxContainer" parent="VBox"] layout_mode = 2 +alignment = 1 [node name="PlayButton" type="Button" parent="VBox/Animation" groups=["UIButtons"]] unique_name_in_owner = true -custom_minimum_size = Vector2(20, 0) +custom_minimum_size = Vector2(20, 20) layout_mode = 2 -size_flags_vertical = 0 +size_flags_vertical = 4 mouse_default_cursor_shape = 2 toggle_mode = true @@ -118,6 +119,7 @@ layout_mode = 2 [node name="Label" type="Label" parent="VBox/Animation/VBoxContainer/Mode"] layout_mode = 2 text = "Animation mode:" +vertical_alignment = 1 [node name="OptionButton" type="OptionButton" parent="VBox/Animation/VBoxContainer/Mode"] layout_mode = 2