This repository has been archived on 2025-12-12. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
food-coop-waage/cart_list_entry.tscn
Felix 4b1796250c Initial commit
Half-baked state. Most of the UI is mostly done, but the integration
with Grist (or any other data provider) is still missing.
2025-05-11 19:19:24 +02:00

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"]