Slider default change
This commit is contained in:
parent
d1e95ed82a
commit
f6ebaea484
1 changed files with 1 additions and 1 deletions
|
@ -103,7 +103,7 @@ class GameOfLife:
|
||||||
[self.graph],
|
[self.graph],
|
||||||
[sg.Button('Go!', key='_DONE_'),
|
[sg.Button('Go!', key='_DONE_'),
|
||||||
sg.Text(' Delay (ms)') , sg.Slider([0,400], orientation='h', key='_SLIDER_', size=(15,15)),
|
sg.Text(' Delay (ms)') , sg.Slider([0,400], orientation='h', key='_SLIDER_', size=(15,15)),
|
||||||
sg.Text(' Num Generations'), sg.Slider([0, 1000],default_value=200, orientation='h',size=(15,15), key='_SLIDER2_')]
|
sg.Text(' Num Generations'), sg.Slider([0, 3000],default_value=400, orientation='h',size=(15,15), key='_SLIDER2_')]
|
||||||
]
|
]
|
||||||
|
|
||||||
self.window = sg.Window('Window Title', ).Layout(layout).Finalize()
|
self.window = sg.Window('Window Title', ).Layout(layout).Finalize()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue