about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2023-04-28 00:22:51 -0400
committerStar Rauchenberger <fefferburbia@gmail.com>2023-04-28 00:22:51 -0400
commit1969ba557fcbf352f4ec546fd1c9467762291f08 (patch)
tree5d09c6b281230ea27b6cd7c7e932d3e3b21aff85
parentcdfc37087e79e4a11ef9615ae11490e60dfe53d6 (diff)
downloadlingo-archipelago-1969ba557fcbf352f4ec546fd1c9467762291f08.tar.gz
lingo-archipelago-1969ba557fcbf352f4ec546fd1c9467762291f08.tar.bz2
lingo-archipelago-1969ba557fcbf352f4ec546fd1c9467762291f08.zip
Increased settings screen field font size
-rw-r--r--Archipelago/settings_screen.gd9
1 files changed, 9 insertions, 0 deletions
diff --git a/Archipelago/settings_screen.gd b/Archipelago/settings_screen.gd index 7da2f43..e8f88e7 100644 --- a/Archipelago/settings_screen.gd +++ b/Archipelago/settings_screen.gd
@@ -38,6 +38,15 @@ func _ready():
38 # Show client version. 38 # Show client version.
39 self.get_node("Panel/title").text = "ARCHIPELAGO (%s)" % apclient.my_version 39 self.get_node("Panel/title").text = "ARCHIPELAGO (%s)" % apclient.my_version
40 40
41 # Increase font size in text boxes.
42 var field_font = DynamicFont.new()
43 field_font.font_data = load("res://fonts/CutiveMono_Regular.ttf")
44 field_font.size = 36
45
46 self.get_node("Panel/server_box").add_font_override("font", field_font)
47 self.get_node("Panel/player_box").add_font_override("font", field_font)
48 self.get_node("Panel/password_box").add_font_override("font", field_font)
49
41 50
42# Adapted from https://gitlab.com/Delta-V-Modding/Mods/-/blob/main/game/ModLoader.gd 51# Adapted from https://gitlab.com/Delta-V-Modding/Mods/-/blob/main/game/ModLoader.gd
43func installScriptExtension(childScriptPath: String): 52func installScriptExtension(childScriptPath: String):