Skip to content

Commit 21f24fc

Browse files
committed
Changed colors
1 parent dfae490 commit 21f24fc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Grapher.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,11 @@ def Main():
5555
Preview = [ [sg.Menu(menu_def)],
5656
[sg.Column(columm_layout, size=(410,100), scrollable=True)]]
5757
#sets the layout for the graph settings on the box
58-
Setting = [[sg.Slider(range=(1,1000), default_value=500, size=(10,10), orientation='horizontal', key = 'height',font=('Helvetica', 12)),
58+
Setting = [[sg.Slider(range=(1,650), default_value=650, size=(10,10), orientation='horizontal', key = 'height',font=('Helvetica', 12)),
5959
sg.Text(' Name: ', size=(10,1)), sg.InputText(key='graphtitle', size=(15,1)), sg.Text(' Title of x-axis ', size = (14,1)),
6060
sg.InputText(key='xlabel', size=(15,1))],
6161
[sg.Text('Enter graph Height')],
62-
[sg.Slider(range=(1,1000), default_value=500, size=(10,10), orientation='horizontal', key = 'width', font=('Helvetica', 12)),
62+
[sg.Slider(range=(1,1500), default_value=1500, size=(10,10), orientation='horizontal', key = 'width', font=('Helvetica', 12)),
6363
sg.Text(' '),sg.Text(' Legend Location '), sg.InputCombo(['Top Left','Top Right','Bottom Left', 'Bottom Right'], key = 'legendloc'),
6464
sg.Text(' Title of y-axis ', size=(13,1)), sg.InputText(key='ylabel',size=(15,1))],
6565
[sg.Text('Enter graph Width')],
@@ -72,7 +72,7 @@ def Main():
7272
[sg.Frame('Preview', Preview, title_color='green', font = 'Any 12'), sg.Image('UMD.png')],
7373
[sg.Frame('Graph Settings', Setting, title_color='blue', font = 'Any 12')],
7474
[sg.Text('Property of Maryland Energy Innovation Institute written by Jonathan Obenland', text_color = 'red')],
75-
[sg.Text('All rights reserved under GNU-GPL version 3 Python 3.x Build: PASSING', text_color = 'green')]]
75+
[sg.Text('All rights reserved under GNU-GPL version 3 Python 3.x Build: ', text_color = 'blue'),sg.Text("PASSING",text_color = 'green')]]
7676

7777
#names the table and creates the layout
7878
window = sg.Window('Table', return_keyboard_events=True).Layout(layout).Finalize()

0 commit comments

Comments
 (0)