[gd_scene format=3 uid="uid://cb5cbbxyxx"] [ext_resource type="Script" uid="uid://df7xxyyzz" path="res://scripts/ui/mailbox_panel.gd" id="1_a"] [node name="MailboxPanel" type="Panel"] anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 script = ExtResource("1_a") [node name="BG" type="ColorRect" parent="."] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 color = Color(0.08, 0.15, 0.22, 1) [node name="Margin" type="MarginContainer" parent="."] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 theme_override_constants/margin_left = 24 theme_override_constants/margin_top = 24 theme_override_constants/margin_right = 24 theme_override_constants/margin_bottom = 24 [node name="HBox" type="HBoxContainer" parent="Margin"] layout_mode = 2 theme_override_constants/separation = 24 [node name="LeftCol" type="VBoxContainer" parent="Margin/HBox"] custom_minimum_size = Vector2(300, 0) layout_mode = 2 theme_override_constants/separation = 12 [node name="HeaderHBox" type="HBoxContainer" parent="Margin/HBox/LeftCol"] layout_mode = 2 [node name="Icon" type="TextureRect" parent="Margin/HBox/LeftCol/HeaderHBox"] custom_minimum_size = Vector2(32, 32) layout_mode = 2 expand_mode = 1 stretch_mode = 5 [node name="Label" type="Label" parent="Margin/HBox/LeftCol/HeaderHBox"] layout_mode = 2 text = "MAILBOX" theme_override_font_sizes/font_size = 24 [node name="Scroll" type="ScrollContainer" parent="Margin/HBox/LeftCol"] layout_mode = 2 size_flags_vertical = 3 [node name="MailListVBox" type="VBoxContainer" parent="Margin/HBox/LeftCol/Scroll"] unique_name_in_owner = true layout_mode = 2 size_flags_horizontal = 3 theme_override_constants/separation = 8 [node name="EmptyStateLbl" type="Label" parent="Margin/HBox/LeftCol/Scroll"] unique_name_in_owner = true visible = false layout_mode = 2 size_flags_horizontal = 3 size_flags_vertical = 6 text = "No mails found." horizontal_alignment = 1 [node name="CloseBtn" type="Button" parent="Margin/HBox/LeftCol"] unique_name_in_owner = true custom_minimum_size = Vector2(100, 40) layout_mode = 2 size_flags_horizontal = 0 text = "BACK" [node name="MailBtnTemplate" type="Button" parent="Margin/HBox/LeftCol"] unique_name_in_owner = true visible = false custom_minimum_size = Vector2(0, 80) layout_mode = 2 toggle_mode = true [node name="VBox" type="VBoxContainer" parent="Margin/HBox/LeftCol/MailBtnTemplate"] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 theme_override_constants/margin_left = 8 theme_override_constants/margin_right = 8 [node name="Title" type="Label" parent="Margin/HBox/LeftCol/MailBtnTemplate/VBox"] layout_mode = 2 theme_override_font_sizes/font_size = 18 text = "No Title" [node name="HBox" type="HBoxContainer" parent="Margin/HBox/LeftCol/MailBtnTemplate/VBox"] layout_mode = 2 [node name="DateLbl" type="Label" parent="Margin/HBox/LeftCol/MailBtnTemplate/VBox/HBox"] layout_mode = 2 theme_override_colors/font_color = Color(0.745098, 0.745098, 0.745098, 1) theme_override_font_sizes/font_size = 12 [node name="Spacer" type="Control" parent="Margin/HBox/LeftCol/MailBtnTemplate/VBox/HBox"] layout_mode = 2 size_flags_horizontal = 3 [node name="StatusLbl" type="Label" parent="Margin/HBox/LeftCol/MailBtnTemplate/VBox/HBox"] layout_mode = 2 theme_override_font_sizes/font_size = 12 [node name="RightCol" type="VBoxContainer" parent="Margin/HBox"] layout_mode = 2 size_flags_horizontal = 3 [node name="MailTitleLbl" type="Label" parent="Margin/HBox/RightCol"] unique_name_in_owner = true layout_mode = 2 theme_override_font_sizes/font_size = 28 text = "WELCOME TO TEKTONIA" [node name="Sep" type="HSeparator" parent="Margin/HBox/RightCol"] layout_mode = 2 [node name="MailContentText" type="RichTextLabel" parent="Margin/HBox/RightCol"] unique_name_in_owner = true layout_mode = 2 size_flags_vertical = 3 theme_override_font_sizes/normal_font_size = 18 text = "Lorem ipsum..." [node name="FooterHBox" type="HBoxContainer" parent="Margin/HBox/RightCol"] layout_mode = 2 [node name="SenderLbl" type="Label" parent="Margin/HBox/RightCol/FooterHBox"] unique_name_in_owner = true layout_mode = 2 size_flags_horizontal = 3 text = "SENDER: TEKTON DEV TEAM" [node name="DynamicRewardsContainer" type="HBoxContainer" parent="Margin/HBox/RightCol/FooterHBox"] unique_name_in_owner = true layout_mode = 2 theme_override_constants/separation = 12 [node name="RewardHBoxTemplate" type="HBoxContainer" parent="Margin/HBox/RightCol/FooterHBox"] unique_name_in_owner = true visible = false layout_mode = 2 [node name="Icon" type="TextureRect" parent="Margin/HBox/RightCol/FooterHBox/RewardHBoxTemplate"] custom_minimum_size = Vector2(32, 32) layout_mode = 2 [node name="AmountLbl" type="Label" parent="Margin/HBox/RightCol/FooterHBox/RewardHBoxTemplate"] layout_mode = 2 text = "100" [node name="ActionBtn" type="Button" parent="Margin/HBox/RightCol/FooterHBox"] unique_name_in_owner = true custom_minimum_size = Vector2(120, 48) layout_mode = 2 theme_override_colors/font_color = Color(1, 0.2, 0.2, 1) text = "DELETE"