From 018673690c7df01b45f8394fee95de254ac903eb Mon Sep 17 00:00:00 2001 From: Emmanouil Papadeas Date: Tue, 9 May 2023 13:01:24 +0300 Subject: [PATCH] Minor UI change for the canvas zoom and rotation sliders --- src/UI/TopMenuContainer/TopMenuContainer.tscn | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/src/UI/TopMenuContainer/TopMenuContainer.tscn b/src/UI/TopMenuContainer/TopMenuContainer.tscn index ac739d191..5fd49295a 100644 --- a/src/UI/TopMenuContainer/TopMenuContainer.tscn +++ b/src/UI/TopMenuContainer/TopMenuContainer.tscn @@ -80,10 +80,12 @@ custom_constants/separation = 20 [node name="RotationSlider" type="TextureProgress" parent="TopLabels"] unique_name_in_owner = true +margin_top = 4.0 margin_right = 70.0 -margin_bottom = 28.0 -rect_min_size = Vector2( 70, 0 ) +margin_bottom = 24.0 +rect_min_size = Vector2( 70, 20 ) mouse_default_cursor_shape = 2 +size_flags_vertical = 4 theme_type_variation = "ValueSlider" min_value = -180.0 max_value = 180.0 @@ -101,13 +103,16 @@ suffix = "°" [node name="ZoomSlider" type="TextureProgress" parent="TopLabels"] unique_name_in_owner = true margin_left = 90.0 +margin_top = 4.0 margin_right = 160.0 -margin_bottom = 28.0 -rect_min_size = Vector2( 70, 0 ) +margin_bottom = 24.0 +rect_min_size = Vector2( 70, 20 ) mouse_default_cursor_shape = 2 +size_flags_vertical = 4 theme_type_variation = "ValueSlider" min_value = 50.0 max_value = 2000.0 +value = 50.0 allow_greater = true allow_lesser = true nine_patch_stretch = true