From 7cb4290601010459b09376396c7833ec391c25bf Mon Sep 17 00:00:00 2001 From: jacopograndi Date: Fri, 24 Dec 2021 21:11:39 +0100 Subject: working on it --- scenes/gui/gui_turret_detail.tscn | 84 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 84 insertions(+) create mode 100644 scenes/gui/gui_turret_detail.tscn (limited to 'scenes/gui/gui_turret_detail.tscn') diff --git a/scenes/gui/gui_turret_detail.tscn b/scenes/gui/gui_turret_detail.tscn new file mode 100644 index 0000000..197a2a5 --- /dev/null +++ b/scenes/gui/gui_turret_detail.tscn @@ -0,0 +1,84 @@ +[gd_scene load_steps=4 format=2] + +[ext_resource path="res://scripts/gui_turret.gd" type="Script" id=1] +[ext_resource path="res://themes/snub_theme.tres" type="Theme" id=2] + +[sub_resource type="StyleBoxFlat" id=1] +bg_color = Color( 0.6, 0.6, 0.6, 0 ) +border_width_left = 1 +border_width_top = 1 +border_width_right = 1 +border_width_bottom = 1 +shadow_offset = Vector2( 1, 1 ) + +[node name="gui_turret_detail" type="Control"] +margin_right = 100.0 +margin_bottom = 120.0 +rect_min_size = Vector2( 100, 120 ) +rect_pivot_offset = Vector2( 50, 50 ) +size_flags_horizontal = 9 +theme = ExtResource( 2 ) +script = ExtResource( 1 ) +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="hbox" type="VBoxContainer" parent="."] +anchor_right = 1.0 +anchor_bottom = 1.0 +custom_constants/separation = 0 +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="name_label" type="Label" parent="hbox"] +margin_right = 100.0 +margin_bottom = 18.0 +text = "name" +align = 1 +valign = 1 +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="name_label2" type="Label" parent="hbox"] +margin_top = 18.0 +margin_right = 100.0 +margin_bottom = 36.0 +text = "name" +align = 1 +valign = 1 +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="name_label3" type="Label" parent="hbox"] +margin_top = 36.0 +margin_right = 100.0 +margin_bottom = 54.0 +text = "name" +align = 1 +valign = 1 +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="name_label4" type="Label" parent="hbox"] +margin_top = 54.0 +margin_right = 100.0 +margin_bottom = 72.0 +text = "name" +align = 1 +valign = 1 +__meta__ = { +"_edit_use_anchors_": false +} + +[node name="border" type="Panel" parent="."] +anchor_right = 1.0 +anchor_bottom = 1.0 +mouse_filter = 2 +custom_styles/panel = SubResource( 1 ) +__meta__ = { +"_edit_use_anchors_": false +} -- cgit v1.2.3-54-g00ecf