Half-baked state. Most of the UI is mostly done, but the integration with Grist (or any other data provider) is still missing.
29 lines
1003 B
Plaintext
29 lines
1003 B
Plaintext
[gd_scene load_steps=2 format=3 uid="uid://bhbwvjxkc7wnm"]
|
|
|
|
[ext_resource type="Script" uid="uid://fqmbfgwbwxyr" path="res://cart_list_entry.gd" id="1_on5si"]
|
|
|
|
[node name="CartListEntry" type="PanelContainer"]
|
|
offset_right = 40.0
|
|
offset_bottom = 40.0
|
|
size_flags_horizontal = 3
|
|
script = ExtResource("1_on5si")
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="."]
|
|
layout_mode = 2
|
|
|
|
[node name="Label" type="Label" parent="HBoxContainer"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
|
|
[node name="DeleteButton" type="Button" parent="HBoxContainer"]
|
|
layout_mode = 2
|
|
theme_override_colors/font_hover_pressed_color = Color(1, 0, 0, 1)
|
|
theme_override_colors/font_hover_color = Color(1, 0, 0, 1)
|
|
theme_override_colors/font_color = Color(1, 0, 0, 1)
|
|
theme_override_colors/font_focus_color = Color(1, 0, 0, 1)
|
|
theme_override_colors/font_pressed_color = Color(1, 0, 0, 1)
|
|
text = "X"
|
|
|
|
[connection signal="pressed" from="HBoxContainer/DeleteButton" to="." method="_on_delete_button"]
|