brackeys-12/InfoWindow.tscn

99 lines
2.4 KiB
Text
Raw Normal View History

2024-09-14 00:09:38 +00:00
[gd_scene load_steps=5 format=3 uid="uid://byyyhq3x8t2d8"]
2024-09-12 02:04:24 +00:00
[ext_resource type="Theme" uid="uid://d035h7upxrw3h" path="res://theme.tres" id="1_emusj"]
[ext_resource type="Script" path="res://info_window.gd" id="1_oy31s"]
[ext_resource type="PackedScene" uid="uid://bsj3th0rsn7a8" path="res://ResourceAllocation.tscn" id="3_r3oy0"]
2024-09-14 00:09:38 +00:00
[ext_resource type="Texture2D" uid="uid://brrrxrf3phkqv" path="res://ui/buildingmeny.png" id="3_wsa04"]
2024-09-12 02:04:24 +00:00
[node name="InfoWindow" type="Control"]
layout_mode = 3
anchors_preset = 6
anchor_left = 1.0
anchor_top = 0.5
anchor_right = 1.0
anchor_bottom = 0.5
offset_left = -226.0
offset_top = -133.0
offset_right = -13.0
offset_bottom = 133.0
grow_horizontal = 0
grow_vertical = 2
theme = ExtResource("1_emusj")
script = ExtResource("1_oy31s")
2024-09-14 00:09:38 +00:00
[node name="ColorRect" type="TextureRect" parent="."]
2024-09-12 02:04:24 +00:00
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
2024-09-14 00:09:38 +00:00
texture = ExtResource("3_wsa04")
2024-09-12 02:04:24 +00:00
2024-09-14 00:09:38 +00:00
[node name="ColorRect2" type="ColorRect" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = 2.0
offset_top = 2.0
offset_right = -2.0
offset_bottom = -2.0
grow_horizontal = 2
grow_vertical = 2
color = Color(0, 0, 0, 0.662745)
[node name="Icon" type="TextureRect" parent="."]
2024-09-12 02:04:24 +00:00
layout_mode = 1
anchors_preset = 5
anchor_left = 0.5
anchor_right = 0.5
2024-09-14 00:09:38 +00:00
offset_left = -16.0
2024-09-12 02:04:24 +00:00
offset_top = 14.0
2024-09-14 00:09:38 +00:00
offset_right = 16.0
offset_bottom = 46.0
grow_horizontal = 2
[node name="Title" type="RichTextLabel" parent="."]
layout_mode = 1
anchors_preset = 5
anchor_left = 0.5
anchor_right = 0.5
offset_left = -93.5
offset_top = 53.0
2024-09-12 02:04:24 +00:00
offset_right = 103.5
2024-09-14 00:09:38 +00:00
offset_bottom = 83.0
2024-09-12 02:04:24 +00:00
grow_horizontal = 2
theme_override_font_sizes/normal_font_size = 16
bbcode_enabled = true
text = "[center]Test Title"
2024-09-14 00:09:38 +00:00
[node name="Subtitle" type="RichTextLabel" parent="."]
layout_mode = 1
anchors_preset = 5
anchor_left = 0.5
anchor_right = 0.5
offset_left = -83.5
offset_top = 75.0
offset_right = 83.5
offset_bottom = 105.0
grow_horizontal = 2
bbcode_enabled = true
text = "[center]Test Title"
[node name="Description" type="RichTextLabel" parent="."]
2024-09-12 02:04:24 +00:00
layout_mode = 1
anchors_preset = 5
anchor_left = 0.5
anchor_right = 0.5
offset_left = -83.5
2024-09-14 00:09:38 +00:00
offset_top = 90.0
2024-09-12 02:04:24 +00:00
offset_right = 83.5
2024-09-14 00:09:38 +00:00
offset_bottom = 162.0
2024-09-12 02:04:24 +00:00
grow_horizontal = 2
bbcode_enabled = true
text = "[center]Test Title"
[node name="ResourceAllocation" parent="." instance=ExtResource("3_r3oy0")]
layout_mode = 1