Skip to content

Commit ceb7e96

Browse files
committed
Made the font on the GUI bigger.
1 parent f77352c commit ceb7e96

9 files changed

+16
-20
lines changed

Media/cclmc-screenshot.png

-9.22 KB
Binary file not shown.

Media/discord-icon.png

315 Bytes
Loading

Media/github-icon.png

397 Bytes
Loading
File renamed without changes.
15.3 KB
Loading
File renamed without changes.

Python/gui.py

Lines changed: 13 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -37,16 +37,16 @@ def init_window():
3737
[
3838
sg.In(
3939
sg.user_settings_get_entry("input_folder"),
40-
size=(37, 1),
40+
size=(31, 1),
4141
enable_events=True,
4242
key="-INPUT FOLDER-",
4343
background_color=sg.theme_input_background_color() if sg.user_settings_get_entry("input_folder") else no_path_set_color
4444
),
45-
sg.FolderBrowse()
45+
sg.FolderBrowse(size=(7, 1))
4646
],
4747
[
48-
sg.ProgressBar(999, size=(23.9, 20), key="-PROGRESS BAR-"),
49-
sg.Button("Convert", key="-CONVERT-")
48+
sg.ProgressBar(999, size=(34.2, 32), key="-PROGRESS BAR-"),
49+
sg.Button("Convert", key="-CONVERT-", size=(7, 1), pad=((5, 0), (0, 15)))
5050
]
5151
], title="Convert Mods")]
5252
]
@@ -55,21 +55,17 @@ def init_window():
5555
sg.user_settings_set_entry("play_finish_sound", True if play_finish_sound_setting == None else play_finish_sound_setting)
5656

5757
options_column = [
58-
[sg.Frame(layout=[
59-
[
60-
sg.Checkbox("Output zips", size=(8, 1), tooltip=" Zipping is slow ", key="-OUTPUT ZIPS-", default=sg.user_settings_get_entry("output_zips"), enable_events=True),
61-
sg.Checkbox("Play finish sound", size=(12, 1), tooltip=" For when converting takes long ", key="-PLAY FINISH SOUND-", default=sg.user_settings_get_entry("play_finish_sound"), enable_events=True)
62-
]
63-
], title="Options")],
58+
[sg.Frame(layout=[[
59+
sg.Checkbox("Output zips", tooltip=" Zipping is slow ", key="-OUTPUT ZIPS-", default=sg.user_settings_get_entry("output_zips"), enable_events=True),
60+
sg.Checkbox("Play finish sound", tooltip=" For when converting takes long ", key="-PLAY FINISH SOUND-", default=sg.user_settings_get_entry("play_finish_sound"), enable_events=True)
61+
]], title="Options")],
6462
]
6563

6664
info_column = [
67-
[sg.Frame(layout=[
68-
[
69-
sg.Image(resource_path("Media/github-icon.png"), enable_events=True, key="-GITHUB-", tooltip=" Visit this program's GitHub page ", size=(0, 30)),
70-
sg.Image(resource_path("Media/discord-icon.png"), enable_events=True, key="-DISCORD-", tooltip=" Visit the CCCP Discord server for help ", size=(0, 30))
71-
]
72-
], title="", pad=((9, 0), (8, 0)))]
65+
[sg.Frame(layout=[[
66+
sg.Image(resource_path("Media/github-icon.png"), enable_events=True, key="-GITHUB-", tooltip=" Visit this program's GitHub page ", size=(47, 0)),
67+
sg.Image(resource_path("Media/discord-icon.png"), enable_events=True, key="-DISCORD-", tooltip=" Visit the CCCP Discord server for help ", size=(48, 0))
68+
]], title="", pad=((9, 0), (12, 0)))]
7369
]
7470

7571
layout = [
@@ -85,7 +81,7 @@ def init_window():
8581
cfg.sg = sg
8682
convert.load_conversion_and_warning_rules()
8783

88-
window = sg.Window("Legacy Mod Converter", layout, icon=resource_path("Media/cclmc.ico"))
84+
window = sg.Window("Legacy Mod Converter", layout, icon=resource_path("Media/legacy-mod-converter.ico"), font=("Helvetica", 16))
8985
cfg.progress_bar = window["-PROGRESS BAR-"]
9086

9187
return window

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<p align="center"><img src="Media/cclmc-icon.png" alt="Legacy Mod Converter icon"></p>
1+
<p align="center"><img src="Media/legacy-mod-converter-icon.png" alt="Legacy Mod Converter icon"></p>
22
<h1 align="center">Cortex Command Legacy Mod Converter</h1>
33

44
## Introduction
@@ -7,7 +7,7 @@ This project automates ***most*** of the conversion work required to convert the
77
## Getting started
88
Download the [***Legacy Mod Converter***](https://www.mediafire.com/file/cl3vfatqkoqmop1/Legacy+Mod+Converter.exe/file) program. Create a new folder and put your legacy mods that you want to convert in it. Run the Legacy Mod Converter program.
99

10-
<p align="center"><img src="Media/cclmc-screenshot.png" alt="Legacy Mod Converter screenshot"></p>
10+
<p align="center"><img src="Media/legacy-mod-converter-screenshot.png" alt="Legacy Mod Converter screenshot"></p>
1111

1212
If you get a "`Microsoft Defender SmartScreen prevented an unrecognized app from starting. Running this app might put your PC at risk.`" popup message when trying to run the program you should press `More info` and then `Run anyway`.
1313

main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Run manually: python main.py
2-
# Build EXE: pyinstaller --noconsole --onefile --icon="Media/cclmc.ico" --add-data="Media/github-icon.png;Media" --add-data="Media/discord-icon.png;Media" --add-data="Media/finish.wav;Media" --name="Legacy Mod Converter" main.py
2+
# Build EXE: pyinstaller --noconsole --onefile --icon="Media/legacy-mod-converter.ico" --add-data="Media/github-icon.png;Media" --add-data="Media/discord-icon.png;Media" --add-data="Media/finish.wav;Media" --name="Legacy Mod Converter" main.py
33

44
from Python import gui
55

0 commit comments

Comments
 (0)