summaryrefslogtreecommitdiffstats
path: root/screens/TimeSlot/TaskItem.tscn
diff options
context:
space:
mode:
authordusoleil <howcansocksbereal@gmail.com>2022-08-26 03:48:27 -0400
committerdusoleil <howcansocksbereal@gmail.com>2022-08-26 03:48:27 -0400
commitfebc05f628793d252066a173e8fce0826b2190fd (patch)
tree163b05a21767704b70a1add51d94abc2f64f3b97 /screens/TimeSlot/TaskItem.tscn
parent4dc99b2d0ac8cb741d1cd968d46026fae70d031e (diff)
downloadPlanner-febc05f628793d252066a173e8fce0826b2190fd.tar.gz
Planner-febc05f628793d252066a173e8fce0826b2190fd.zip
Flesh Out Navigation and Populate Screens with Data
Diffstat (limited to '')
-rw-r--r--screens/TimeSlot/TaskItem.tscn15
1 files changed, 13 insertions, 2 deletions
diff --git a/screens/TimeSlot/TaskItem.tscn b/screens/TimeSlot/TaskItem.tscn
index 75ef95d..1a9948d 100644
--- a/screens/TimeSlot/TaskItem.tscn
+++ b/screens/TimeSlot/TaskItem.tscn
@@ -1,16 +1,22 @@
-[gd_scene load_steps=3 format=2]
+[gd_scene load_steps=5 format=2]
[ext_resource path="res://fonts/DroidSans.ttf" type="DynamicFontData" id=1]
+[ext_resource path="res://screens/TimeSlot/TaskItem.gd" type="Script" id=2]
[sub_resource type="DynamicFont" id=1]
size = 72
font_data = ExtResource( 1 )
+[sub_resource type="DynamicFont" id=2]
+size = 72
+font_data = ExtResource( 1 )
+
[node name="TaskItem" type="MarginContainer"]
margin_right = 1026.0
margin_bottom = 110.0
custom_constants/margin_top = 5
custom_constants/margin_bottom = 5
+script = ExtResource( 2 )
[node name="Button" type="Button" parent="."]
margin_top = 5.0
@@ -24,6 +30,7 @@ margin_bottom = 100.0
alignment = 2
[node name="Name" type="Label" parent="Button/HBoxContainer"]
+unique_name_in_owner = true
margin_top = 8.0
margin_right = 493.0
margin_bottom = 92.0
@@ -33,6 +40,7 @@ text = "Stretching"
clip_text = true
[node name="Length" type="Label" parent="Button/HBoxContainer"]
+unique_name_in_owner = true
margin_left = 497.0
margin_top = 8.0
margin_right = 722.0
@@ -42,12 +50,15 @@ text = "10 min"
align = 2
[node name="Frequency" type="Label" parent="Button/HBoxContainer"]
+unique_name_in_owner = true
margin_left = 726.0
margin_top = 8.0
margin_right = 1026.0
margin_bottom = 92.0
rect_min_size = Vector2( 300, 0 )
-custom_fonts/font = SubResource( 1 )
+custom_fonts/font = SubResource( 2 )
text = "Daily"
align = 2
clip_text = true
+
+[connection signal="button_up" from="Button" to="." method="_on_Button_button_up"]