signalis-eb/godot/scenes/box_ui.tscn

36 lines
1.2 KiB
Text

[gd_scene load_steps=3 format=3 uid="uid://cidwsnulug6fl"]
[ext_resource type="Theme" uid="uid://bb6tvyqikcf3r" path="res://scenes/box_ui.tres" id="1_e1aew"]
[ext_resource type="Script" uid="uid://bnumwlio6adb8" path="res://src/ui/box.gd" id="2_jp73w"]
[node name="Box" type="PanelContainer" node_paths=PackedStringArray("title_label", "body_container")]
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme = ExtResource("1_e1aew")
script = ExtResource("2_jp73w")
title_label = NodePath("Container/Header/TitleContainer/Label")
body_container = NodePath("Container/Content")
[node name="Container" type="VBoxContainer" parent="."]
layout_mode = 2
[node name="Header" type="PanelContainer" parent="Container"]
layout_mode = 2
theme = ExtResource("1_e1aew")
theme_type_variation = &"BoxTitle"
[node name="TitleContainer" type="MarginContainer" parent="Container/Header"]
layout_mode = 2
[node name="Label" type="Label" parent="Container/Header/TitleContainer"]
layout_mode = 2
theme_type_variation = &"BoxTitleText"
[node name="Content" type="PanelContainer" parent="Container"]
layout_mode = 2
size_flags_vertical = 3
theme = ExtResource("1_e1aew")
theme_type_variation = &"BoxContent"