From dbc6cc007f98e27d87db09e3a2f106258b105811 Mon Sep 17 00:00:00 2001 From: Jaap Marsman Date: Wed, 3 May 2023 15:23:22 +0800 Subject: [PATCH] started work on adding timings to the PodBooker --- podbooker/MainStartScreen.tscn | 23 +++++++++++++++++------ 1 file changed, 17 insertions(+), 6 deletions(-) diff --git a/podbooker/MainStartScreen.tscn b/podbooker/MainStartScreen.tscn index 0a52eeb..ac04018 100644 --- a/podbooker/MainStartScreen.tscn +++ b/podbooker/MainStartScreen.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=17 format=3 uid="uid://cntv32f7abpkp"] +[gd_scene load_steps=18 format=3 uid="uid://cntv32f7abpkp"] [ext_resource type="Script" path="res://ButtonScript.gd" id="1"] [ext_resource type="Theme" uid="uid://c3niwfgfe0ji" path="res://kellett.tres" id="2"] @@ -10,6 +10,7 @@ [ext_resource type="Texture2D" uid="uid://bxm4opuvj1fkv" path="res://noun-cogs-1959786.png" id="7"] [ext_resource type="Script" path="res://assets/bookings.gd" id="8"] [ext_resource type="Script" path="res://ResetMenu.gd" id="9"] +[ext_resource type="FontFile" uid="uid://cp5oelmse6f5x" path="res://assets/FutuBk.ttf" id="9_ox1mc"] [ext_resource type="Script" path="res://assets/ImportantVars.gd" id="10"] [ext_resource type="Script" path="res://time_script.gd" id="11"] @@ -1157,10 +1158,16 @@ offset_right = 96.0 offset_bottom = 642.0 theme = ExtResource("2") -[node name="Lesson 1" type="Label" parent="LessonGrid"] +[node name="Lesson 1" type="RichTextLabel" parent="LessonGrid"] +custom_minimum_size = Vector2(90, 2.08165e-12) layout_mode = 2 size_flags_vertical = 6 -text = "Lesson 1" +theme_override_colors/default_color = Color(0, 0, 0, 1) +bbcode_enabled = true +text = "[u]Lesson 1[/u] +[color=gray]8.10-9.00[/color]" +fit_content = true +scroll_active = false [node name="Lesson 2" type="Label" parent="LessonGrid"] layout_mode = 2 @@ -1219,9 +1226,12 @@ texture = ExtResource("3") [node name="AppTitle" type="Label" parent="."] anchors_preset = 10 anchor_right = 1.0 -offset_top = 3.0 -offset_bottom = 33.0 +offset_top = 11.0 +offset_bottom = 41.0 +grow_horizontal = 2 theme_override_colors/font_color = Color(0, 0, 0, 1) +theme_override_fonts/font = ExtResource("9_ox1mc") +theme_override_font_sizes/font_size = 20 text = "Learning Central Pod Booker" horizontal_alignment = 1 @@ -1243,7 +1253,8 @@ unique_name_in_owner = true layout_mode = 2 theme = ExtResource("2") theme_override_colors/font_color = Color(0.647059, 0, 0, 1) -theme_override_font_sizes/font_size = 20 +theme_override_fonts/font = ExtResource("9_ox1mc") +theme_override_font_sizes/font_size = 24 text = "Day" [node name="Right" type="Button" parent="DaySelector"]