diff options
Diffstat (limited to 'screens/TimeSlot/TaskItem.tscn')
-rw-r--r-- | screens/TimeSlot/TaskItem.tscn | 15 |
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"] |