Skip to content

Commit cb7390f

Browse files
authored
Merge pull request #6 from froggie3/main
Fixed errors in GUI fonts used
2 parents c271b5a + 87fb9f2 commit cb7390f

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

picklescan_gui.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ def browse_layout(type_,visible_,disabled=False):
9191

9292
layout = sg.Frame('',[
9393
[
94-
sg.Input(key=f'-input_files_{type_}-',enable_events=True,expand_x=True,expand_y=True,font='Ariel 11',background_color=COLOR_DARK_GRAY,right_click_menu=right_click_menu),
94+
sg.Input(key=f'-input_files_{type_}-',enable_events=True,expand_x=True,expand_y=True,font='Arial 11',background_color=COLOR_DARK_GRAY,right_click_menu=right_click_menu),
9595
browse_type,
9696
],
9797
],expand_x=True,k=f'-frame_{type_}-',visible=visible_,relief=sg.RELIEF_SOLID,border_width=1,background_color=COLOR_GRAY_9900)
@@ -130,13 +130,13 @@ def browse_layout(type_,visible_,disabled=False):
130130
[
131131
sg.Frame('',[
132132
[
133-
sg.Button('SCAN',k='-scan_button-',disabled=False,button_color=("white",COLOR_DARK_BLUE),font='Ariel 12 ',expand_x=True,size=(10,2)),
133+
sg.Button('SCAN',k='-scan_button-',disabled=False,button_color=("white",COLOR_DARK_BLUE),font='Arial 12 ',expand_x=True,size=(10,2)),
134134
],
135135

136136
[
137-
sg.Text(SCANNED_FILES_DEF,k='-scanned_files_text-',expand_x=True,expand_y=True,font='Ariel 12',justification='left',size=(20,1)),
138-
sg.Text(INFECTED_FILES_DEF,k='-infected_files_text-',expand_x=True,expand_y=True,font='Ariel 12',justification='c',size=(20,1)),
139-
sg.Text(DANGEROUS_GLOBALS_DEF,k='-dangerous_globals_text-',expand_x=True,expand_y=True,font='Ariel 12',justification='right',size=(20,1)),
137+
sg.Text(SCANNED_FILES_DEF,k='-scanned_files_text-',expand_x=True,expand_y=True,font='Arial 12',justification='left',size=(20,1)),
138+
sg.Text(INFECTED_FILES_DEF,k='-infected_files_text-',expand_x=True,expand_y=True,font='Arial 12',justification='c',size=(20,1)),
139+
sg.Text(DANGEROUS_GLOBALS_DEF,k='-dangerous_globals_text-',expand_x=True,expand_y=True,font='Arial 12',justification='right',size=(20,1)),
140140
],
141141

142142
[
@@ -145,7 +145,7 @@ def browse_layout(type_,visible_,disabled=False):
145145
[
146146
sg.Frame('',[
147147
[
148-
sg.Text('',key='-status_state_text-', expand_x=True,expand_y=True,justification='c',font='Ariel 12 bold',background_color=COLOR_GRAY_9900)
148+
sg.Text('',key='-status_state_text-', expand_x=True,expand_y=True,justification='c',font='Arial 12 bold',background_color=COLOR_GRAY_9900)
149149
],
150150
],expand_x=True,expand_y=False,relief=sg.RELIEF_FLAT,border_width=0,visible=True,element_justification='c',background_color=COLOR_GRAY_9900,size=(50,30))
151151
],
@@ -161,7 +161,7 @@ def browse_layout(type_,visible_,disabled=False):
161161
[
162162
sg.Frame(' Status',[
163163
[
164-
sg.Text('',key='-status_info-', expand_x=True,font='Ariel 12 bold')
164+
sg.Text('',key='-status_info-', expand_x=True,font='Arial 12 bold')
165165
],
166166
],expand_x=True,expand_y=True,relief=sg.RELIEF_SOLID,border_width=0,visible=True,element_justification='c',background_color=COLOR_GRAY_9900,title_color=COLOR_DARK_BLUE)
167167
],

0 commit comments

Comments
 (0)