[gd_scene load_steps=4 format=3 uid="uid://dgxm8txsiukwf"] [ext_resource type="Script" uid="uid://bqhq0i52dt5lc" path="res://scripts/planet_panel.gd" id="1_b1d0p"] [ext_resource type="FontFile" uid="uid://chk8jrn2ighpx" path="res://assets/fonts/main_font.ttf" id="2_sqypy"] [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_sqypy"] bg_color = Color(0.69411767, 0.32156864, 0.08235294, 0.37254903) border_width_left = 1 border_width_top = 1 border_width_right = 1 border_width_bottom = 1 border_color = Color(0.7988825, 0.55350196, 0.19976625, 1) corner_radius_top_left = 2 corner_radius_top_right = 2 corner_radius_bottom_right = 2 corner_radius_bottom_left = 2 [node name="PlanetPanel" type="Panel"] anchors_preset = -1 anchor_left = 0.499 anchor_top = 0.37300003 anchor_right = 0.499 anchor_bottom = 0.37300003 offset_left = -612.44006 offset_top = -241.70401 offset_right = -186.44006 offset_bottom = 259.87994 grow_vertical = 2 size_flags_horizontal = 0 size_flags_vertical = 0 theme_override_styles/panel = SubResource("StyleBoxFlat_sqypy") script = ExtResource("1_b1d0p") [node name="Name_Label" type="Label" parent="."] layout_mode = 0 offset_left = 5.0 offset_top = 3.0 offset_right = 393.0 offset_bottom = 24.0 theme_override_fonts/font = ExtResource("2_sqypy") theme_override_font_sizes/font_size = 16 text = "Nazwa planety" horizontal_alignment = 1 [node name="Info_Label" type="Label" parent="."] layout_mode = 0 offset_left = 5.0 offset_top = 23.0 offset_right = 419.0 offset_bottom = 305.58395 theme_override_fonts/font = ExtResource("2_sqypy") theme_override_font_sizes/font_size = 16 text = "Informacje o planecie..." autowrap_mode = 2 [node name="Buildings" type="GridContainer" parent="."] layout_mode = 1 anchors_preset = 12 anchor_top = 1.0 anchor_right = 1.0 anchor_bottom = 1.0 offset_left = 15.0 offset_top = -56.0 offset_right = -11.0 offset_bottom = -8.0 grow_horizontal = 2 grow_vertical = 0 columns = 3 [node name="Button" type="Button" parent="."] layout_mode = 1 anchors_preset = 1 anchor_left = 1.0 anchor_right = 1.0 offset_left = -22.0 offset_top = 3.0 offset_right = -3.0 offset_bottom = 22.0 grow_horizontal = 0 theme_override_font_sizes/font_size = 7 text = "X" [connection signal="pressed" from="Button" to="." method="_on_button_pressed"]