mirror of
https://codeberg.org/Ikatono/TierMaker.git
synced 2025-10-28 20:45:35 -05:00
forgot to push for a while, got drag-and-drop mostly working
This commit is contained in:
91
row.tscn
Normal file
91
row.tscn
Normal file
@@ -0,0 +1,91 @@
|
||||
[gd_scene load_steps=8 format=3 uid="uid://b7pebyti48f7b"]
|
||||
|
||||
[ext_resource type="Script" path="res://row.cs" id="1_dodxa"]
|
||||
[ext_resource type="Script" path="res://RowGrid.cs" id="2_h4wwk"]
|
||||
[ext_resource type="Script" path="res://RowCardContainer.cs" id="3_0etg2"]
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_spa1m"]
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_22f0d"]
|
||||
bg_color = Color(0.839216, 0.839216, 0.839216, 1)
|
||||
|
||||
[sub_resource type="LabelSettings" id="LabelSettings_p0x7q"]
|
||||
font_size = 18
|
||||
outline_size = 2
|
||||
outline_color = Color(0, 0, 0, 1)
|
||||
|
||||
[sub_resource type="LabelSettings" id="LabelSettings_7hvr3"]
|
||||
outline_size = 2
|
||||
outline_color = Color(0, 0, 0, 1)
|
||||
|
||||
[node name="Row" type="MarginContainer" groups=["RowGroup"]]
|
||||
anchors_preset = 10
|
||||
anchor_right = 1.0
|
||||
grow_horizontal = 2
|
||||
size_flags_vertical = 2
|
||||
script = ExtResource("1_dodxa")
|
||||
|
||||
[node name="RowGrid" type="PanelContainer" parent="."]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
mouse_filter = 2
|
||||
theme_override_styles/panel = SubResource("StyleBoxFlat_spa1m")
|
||||
script = ExtResource("2_h4wwk")
|
||||
|
||||
[node name="RowBaseContainer" type="HSplitContainer" parent="RowGrid"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
mouse_filter = 2
|
||||
dragger_visibility = 2
|
||||
|
||||
[node name="RowTitleBoxBackground" type="Panel" parent="RowGrid/RowBaseContainer"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 0
|
||||
size_flags_vertical = 0
|
||||
mouse_filter = 2
|
||||
theme_override_styles/panel = SubResource("StyleBoxFlat_22f0d")
|
||||
|
||||
[node name="RowTitleBoxLabel" type="Label" parent="RowGrid/RowBaseContainer/RowTitleBoxBackground"]
|
||||
unique_name_in_owner = true
|
||||
z_index = 1
|
||||
layout_mode = 1
|
||||
anchors_preset = 8
|
||||
anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 0.5
|
||||
offset_left = -42.0
|
||||
offset_top = -13.0
|
||||
offset_right = 42.0
|
||||
offset_bottom = 13.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
text = "RowLabel"
|
||||
label_settings = SubResource("LabelSettings_p0x7q")
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
autowrap_mode = 2
|
||||
justification_flags = 161
|
||||
|
||||
[node name="RowTitleBoxIdLabel" type="Label" parent="RowGrid/RowBaseContainer/RowTitleBoxBackground"]
|
||||
unique_name_in_owner = true
|
||||
z_index = 1
|
||||
layout_mode = 1
|
||||
anchors_preset = 12
|
||||
anchor_top = 1.0
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_left = -24.0
|
||||
offset_top = -23.0
|
||||
offset_right = 24.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 0
|
||||
text = "RowId"
|
||||
label_settings = SubResource("LabelSettings_7hvr3")
|
||||
|
||||
[node name="RowCardContainer" type="HFlowContainer" parent="RowGrid/RowBaseContainer"]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
script = ExtResource("3_0etg2")
|
||||
Reference in New Issue
Block a user