From 4faf8bb004dbb2161e736028469333b9b6c99775 Mon Sep 17 00:00:00 2001 From: dam Date: Fri, 3 Dec 2021 15:07:09 +0000 Subject: Remove datepicker hardcoded dimensions. --- main.tscn | 36 ++++++++++++++++++++---------------- 1 file changed, 20 insertions(+), 16 deletions(-) (limited to 'main.tscn') diff --git a/main.tscn b/main.tscn index c3a8f2b..b761ae4 100644 --- a/main.tscn +++ b/main.tscn @@ -12,7 +12,27 @@ __meta__ = { "_edit_use_anchors_": false } +[node name="ScrollContainer2" type="ScrollContainer" parent="TabContainer"] +anchor_right = 1.0 +anchor_bottom = 1.0 +margin_left = 4.0 +margin_top = 32.0 +margin_right = -4.0 +margin_bottom = -4.0 + +[node name="VBoxContainer" type="VBoxContainer" parent="TabContainer/ScrollContainer2"] +margin_right = 400.0 +margin_bottom = 200.0 + +[node name="date_picker" parent="TabContainer/ScrollContainer2/VBoxContainer" instance=ExtResource( 2 )] +anchor_right = 0.0 +anchor_bottom = 0.0 +margin_right = 400.0 +margin_bottom = 200.0 +rect_min_size = Vector2( 400, 200 ) + [node name="ScrollContainer" type="ScrollContainer" parent="TabContainer"] +visible = false anchor_right = 1.0 anchor_bottom = 1.0 margin_left = 4.0 @@ -151,19 +171,3 @@ rect_min_size = Vector2( 0, 50 ) __meta__ = { "_edit_use_anchors_": false } - -[node name="ScrollContainer2" type="ScrollContainer" parent="TabContainer"] -anchor_right = 1.0 -anchor_bottom = 1.0 -margin_left = 4.0 -margin_top = 32.0 -margin_right = -4.0 -margin_bottom = -4.0 - -[node name="VBoxContainer" type="VBoxContainer" parent="TabContainer/ScrollContainer2"] -margin_right = 710.0 - -[node name="date_picker" parent="TabContainer/ScrollContainer2/VBoxContainer" instance=ExtResource( 2 )] -anchor_right = 0.0 -anchor_bottom = 0.0 -margin_right = 710.0 -- cgit v1.2.3