Skip to content

Commit f80d0d5

Browse files
committed
Update multiline boxes based on pysimplegui v4.4.1
1 parent 9e563d3 commit f80d0d5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

python_easy_chess_gui.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2474,11 +2474,11 @@ def build_main_layout(self, is_user_white=True):
24742474
size=(46,1))],
24752475

24762476
[sg.Text('Move list', size=(16, 1), font=('Consolas', 10))],
2477-
[sg.Multiline('', do_not_clear=True, autoscroll=True, size=(0, 8),
2477+
[sg.Multiline('', do_not_clear=True, autoscroll=True, size=(52, 8),
24782478
font=('Consolas', 10), key='_movelist_', disabled=True)],
24792479

24802480
[sg.Text('Comment', size=(7, 1), font=('Consolas', 10))],
2481-
[sg.Multiline('', do_not_clear=True, autoscroll=True, size=(0, 1),
2481+
[sg.Multiline('', do_not_clear=True, autoscroll=True, size=(52, 3),
24822482
font=('Consolas', 10), key='comment_k')],
24832483

24842484
[sg.Text('BOOK 1, Comp games', size=(26, 1),
@@ -2489,9 +2489,9 @@ def build_main_layout(self, is_user_white=True):
24892489
font=('Consolas', 10),
24902490
right_click_menu=['Right',
24912491
['Show::right_book2_k', 'Hide::right_book2_k']])],
2492-
[sg.Multiline('', do_not_clear=True, autoscroll=False, size=(0, 1),
2492+
[sg.Multiline('', do_not_clear=True, autoscroll=False, size=(23, 4),
24932493
font=('Consolas', 10), key='polyglot_book1_k', disabled=True),
2494-
sg.Multiline('', do_not_clear=True, autoscroll=False, size=(0, 1),
2494+
sg.Multiline('', do_not_clear=True, autoscroll=False, size=(25, 4),
24952495
font=('Consolas', 10), key='polyglot_book2_k', disabled=True)],
24962496

24972497
[sg.Text('Opponent Search Info', font=('Consolas', 10), size=(30, 1),

0 commit comments

Comments
 (0)