Increases font size and readability of menu

master
TechieDamien 2025-08-02 10:44:28 +01:00
parent a05dae4703
commit 23b73dd5f6
Signed by: TechieDamien
GPG Key ID: 2ACE3574E164B780
2 changed files with 10 additions and 5 deletions

View File

@ -1,4 +1,4 @@
[gd_scene load_steps=17 format=3 uid="uid://bu5cwjawsnb1q"] [gd_scene load_steps=18 format=3 uid="uid://bu5cwjawsnb1q"]
[ext_resource type="Script" uid="uid://bomw4j2mmerry" path="res://Scripts/main_menu.gd" id="1_28flt"] [ext_resource type="Script" uid="uid://bomw4j2mmerry" path="res://Scripts/main_menu.gd" id="1_28flt"]
[ext_resource type="Texture2D" uid="uid://dxdtqv4do4x31" path="res://Sprites/background.png" id="2_48xlc"] [ext_resource type="Texture2D" uid="uid://dxdtqv4do4x31" path="res://Sprites/background.png" id="2_48xlc"]
@ -30,14 +30,17 @@ font_color = Color(0.545098, 0, 0, 1)
font_size = 160 font_size = 160
font_color = Color(1, 1, 0, 1) font_color = Color(1, 1, 0, 1)
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_trj04"]
bg_color = Color(0, 0, 0, 1)
[sub_resource type="LabelSettings" id="LabelSettings_vtepg"] [sub_resource type="LabelSettings" id="LabelSettings_vtepg"]
line_spacing = -1.0 line_spacing = -1.0
paragraph_spacing = 1.0 paragraph_spacing = 1.0
font_size = 22
[sub_resource type="LabelSettings" id="LabelSettings_8dnnj"] [sub_resource type="LabelSettings" id="LabelSettings_8dnnj"]
font = ExtResource("6_16hvj") font = ExtResource("6_16hvj")
font_size = 18 font_size = 18
font_color = Color(0, 0, 0, 1)
[node name="MainMenu" type="Control"] [node name="MainMenu" type="Control"]
layout_mode = 3 layout_mode = 3
@ -172,12 +175,13 @@ label_settings = SubResource("LabelSettings_yhxw7")
visible = false visible = false
layout_mode = 1 layout_mode = 1
anchors_preset = -1 anchors_preset = -1
anchor_left = 0.25 anchor_left = 0.2
anchor_top = 0.375 anchor_top = 0.375
anchor_right = 0.75 anchor_right = 0.8
anchor_bottom = 0.8 anchor_bottom = 0.9
grow_horizontal = 2 grow_horizontal = 2
grow_vertical = 2 grow_vertical = 2
theme_override_styles/panel = SubResource("StyleBoxFlat_trj04")
[node name="Label" type="Label" parent="HelpPanel"] [node name="Label" type="Label" parent="HelpPanel"]
layout_mode = 1 layout_mode = 1

View File

@ -25,6 +25,7 @@ corner_radius_bottom_left = 7
[resource] [resource]
default_font = ExtResource("1_e7bfs") default_font = ExtResource("1_e7bfs")
default_font_size = 22
Button/styles/hover = SubResource("StyleBoxFlat_e7bfs") Button/styles/hover = SubResource("StyleBoxFlat_e7bfs")
Button/styles/normal = SubResource("StyleBoxFlat_3taad") Button/styles/normal = SubResource("StyleBoxFlat_3taad")
Button/styles/pressed = SubResource("StyleBoxFlat_7j863") Button/styles/pressed = SubResource("StyleBoxFlat_7j863")