Commit 4725126f authored by Wallenfang, Nils's avatar Wallenfang, Nils

Merge branch 'config_and_refactoring' into 'master'

grow selection list on window resize

See merge request !10
parents f03ee6df 5933b428
......@@ -38,9 +38,12 @@ def checkbox_dialog(parent, entries):
select_all_button = tkinter.Button(frame, text='Select all entries',
command=lambda: list_widget.select_set(0, tkinter.END))
list_widget.pack()
select_all_button.pack()
confirm_button.pack()
list_widget.grid(row=0, column=0, sticky='NSEW')
select_all_button.grid(row=1, column=0)
confirm_button.grid(row=2, column=0)
frame.rowconfigure(0, weight=1)
frame.columnconfigure(0, weight=1)
frame.grid() # row=0, column=0, sticky='NSEW'
# Wait for the confirm button to be pressed
parent.wait_variable(button_clicked_var)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment