@@ -55,11 +55,11 @@ def Main():
55
55
Preview = [ [sg .Menu (menu_def )],
56
56
[sg .Column (columm_layout , size = (410 ,100 ), scrollable = True )]]
57
57
#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 )),
59
59
sg .Text (' Name: ' , size = (10 ,1 )), sg .InputText (key = 'graphtitle' , size = (15 ,1 )), sg .Text (' Title of x-axis ' , size = (14 ,1 )),
60
60
sg .InputText (key = 'xlabel' , size = (15 ,1 ))],
61
61
[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 )),
63
63
sg .Text (' ' ),sg .Text (' Legend Location ' ), sg .InputCombo (['Top Left' ,'Top Right' ,'Bottom Left' , 'Bottom Right' ], key = 'legendloc' ),
64
64
sg .Text (' Title of y-axis ' , size = (13 ,1 )), sg .InputText (key = 'ylabel' ,size = (15 ,1 ))],
65
65
[sg .Text ('Enter graph Width' )],
@@ -72,7 +72,7 @@ def Main():
72
72
[sg .Frame ('Preview' , Preview , title_color = 'green' , font = 'Any 12' ), sg .Image ('UMD.png' )],
73
73
[sg .Frame ('Graph Settings' , Setting , title_color = 'blue' , font = 'Any 12' )],
74
74
[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' )]]
76
76
77
77
#names the table and creates the layout
78
78
window = sg .Window ('Table' , return_keyboard_events = True ).Layout (layout ).Finalize ()
0 commit comments