+ fix gui
This commit is contained in:
25
gui/gui.py
25
gui/gui.py
@@ -101,22 +101,23 @@ class Gui:
|
|||||||
|
|
||||||
#new popup
|
#new popup
|
||||||
|
|
||||||
text_column = [
|
|
||||||
[
|
|
||||||
sg.Text('What should the program do if a file already exists?')
|
|
||||||
]
|
|
||||||
]
|
|
||||||
|
|
||||||
choices = [
|
|
||||||
[
|
|
||||||
sg.Button(button_text='skip', key='-SKIP-'),
|
|
||||||
sg.Button(button_text='overwrite', key='-OVERWRITE-'),
|
|
||||||
sg.Button(button_text='create expicit name', key='-EXPICIT-'),
|
|
||||||
]
|
|
||||||
]
|
|
||||||
|
|
||||||
class layout_popup:
|
class layout_popup:
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
|
text_column = [
|
||||||
|
[
|
||||||
|
sg.Text('What should the program do if a file already exists?')
|
||||||
|
]
|
||||||
|
]
|
||||||
|
|
||||||
|
choices = [
|
||||||
|
[
|
||||||
|
sg.Button(button_text='skip', key='-SKIP-'),
|
||||||
|
sg.Button(button_text='overwrite', key='-OVERWRITE-'),
|
||||||
|
sg.Button(button_text='create expicit name', key='-EXPICIT-'),
|
||||||
|
]
|
||||||
|
]
|
||||||
self.layout = [
|
self.layout = [
|
||||||
[
|
[
|
||||||
sg.Column(text_column),
|
sg.Column(text_column),
|
||||||
|
|||||||
Reference in New Issue
Block a user