From 4dc99b2d0ac8cb741d1cd968d46026fae70d031e Mon Sep 17 00:00:00 2001 From: dusoleil Date: Sat, 20 Aug 2022 02:09:44 -0400 Subject: Add basic mockups of two screens and prototype navigation --- Main.tscn | 47 ++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 46 insertions(+), 1 deletion(-) (limited to 'Main.tscn') diff --git a/Main.tscn b/Main.tscn index 29114cb..8d16835 100644 --- a/Main.tscn +++ b/Main.tscn @@ -1,5 +1,50 @@ -[gd_scene format=2] +[gd_scene load_steps=4 format=2] + +[ext_resource path="res://Main.gd" type="Script" id=1] + +[sub_resource type="StyleBoxFlat" id=2] +bg_color = Color( 0.0784314, 0.0745098, 0.0745098, 1 ) + +[sub_resource type="StyleBoxFlat" id=1] +bg_color = Color( 0.501961, 0.501961, 0.501961, 1 ) [node name="Main" type="Control"] anchor_right = 1.0 anchor_bottom = 1.0 +script = ExtResource( 1 ) + +[node name="Background" type="PanelContainer" parent="."] +anchor_right = 1.0 +anchor_bottom = 1.0 +custom_styles/panel = SubResource( 2 ) + +[node name="VBoxContainer" type="VBoxContainer" parent="Background"] +margin_right = 1080.0 +margin_bottom = 1920.0 + +[node name="HeaderBackground" type="PanelContainer" parent="Background/VBoxContainer"] +margin_right = 1080.0 +margin_bottom = 220.0 +size_flags_vertical = 3 +size_flags_stretch_ratio = 0.13 +custom_styles/panel = SubResource( 1 ) + +[node name="HeaderContent" type="MarginContainer" parent="Background/VBoxContainer/HeaderBackground"] +unique_name_in_owner = true +margin_right = 1080.0 +margin_bottom = 220.0 +custom_constants/margin_right = 20 +custom_constants/margin_top = 20 +custom_constants/margin_left = 20 +custom_constants/margin_bottom = 20 + +[node name="BodyContent" type="MarginContainer" parent="Background/VBoxContainer"] +unique_name_in_owner = true +margin_top = 224.0 +margin_right = 1080.0 +margin_bottom = 1920.0 +size_flags_vertical = 3 +custom_constants/margin_right = 20 +custom_constants/margin_top = 20 +custom_constants/margin_left = 20 +custom_constants/margin_bottom = 20 -- cgit v1.2.3