From 80733e322257656c7a93ad329e06fcda487da884 Mon Sep 17 00:00:00 2001 From: dam Date: Sat, 2 Apr 2022 09:41:54 +0000 Subject: Sets the stage action buttons side by side. --- main.tscn | 28 ++++++++++------------------ 1 file changed, 10 insertions(+), 18 deletions(-) (limited to 'main.tscn') diff --git a/main.tscn b/main.tscn index d388cb5..ba50f42 100644 --- a/main.tscn +++ b/main.tscn @@ -206,29 +206,21 @@ placeholder_text = "Notas" caret_blink = true caret_blink_speed = 0.5 -[node name="discard" type="Button" parent="stage/controls" index="13"] +[node name="buttons" type="Control" parent="stage/controls" index="13"] margin_top = 994.0 margin_right = 1080.0 -margin_bottom = 1052.0 -grow_horizontal = 2 -grow_vertical = 2 -rect_min_size = Vector2( 0, 50 ) +margin_bottom = 994.0 + +[node name="discard" type="Button" parent="stage/controls/buttons"] +anchor_right = 0.5 text = "discard" -__meta__ = { -"_edit_use_anchors_": false -} -[node name="save" type="Button" parent="stage/controls" index="14"] -margin_top = 1056.0 -margin_right = 1080.0 -margin_bottom = 1114.0 -grow_horizontal = 2 -grow_vertical = 2 -rect_min_size = Vector2( 0, 50 ) +[node name="save" type="Button" parent="stage/controls/buttons"] +anchor_left = 0.5 +anchor_right = 1.0 +margin_bottom = 58.0 +grow_horizontal = 0 text = "save" -__meta__ = { -"_edit_use_anchors_": false -} [node name="file_picker" type="FileDialog" parent="."] anchor_right = 1.0 -- cgit v1.2.3