Skip to content

Commit b01900c

Browse files
Copilotfsmosca
andcommitted
Fix right-edge alignment: reduce move list width to 22, increase book panel to 28
Agent-Logs-Url: https://github.com/fsmosca/Python-Easy-Chess-GUI/sessions/613a72de-5a54-415e-99c5-663a20d3a73a Co-authored-by: fsmosca <22366935+fsmosca@users.noreply.github.com>
1 parent 70e072d commit b01900c

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
@@ -2932,13 +2932,13 @@ def build_review_layout(self, is_user_white=True):
29322932
[sg.Multiline('', do_not_clear=True, autoscroll=False, size=(52, 4),
29332933
font=('Consolas', 10), key='review_header_k',
29342934
disabled=True)],
2935-
[sg.Text('Move list', size=(26, 1), font=('Consolas', 10)),
2936-
sg.Text('Book moves', size=(24, 1), font=('Consolas', 10))],
2937-
[sg.Listbox(values=['Start position'], size=(26, REVIEW_MOVE_LIST_HEIGHT),
2935+
[sg.Text('Move list', size=(22, 1), font=('Consolas', 10)),
2936+
sg.Text('Book moves', size=(28, 1), font=('Consolas', 10))],
2937+
[sg.Listbox(values=['Start position'], size=(22, REVIEW_MOVE_LIST_HEIGHT),
29382938
font=('Consolas', 10), key='review_move_list_k',
29392939
enable_events=True, expand_y=True),
29402940
sg.Multiline('', do_not_clear=True, autoscroll=False,
2941-
size=(24, REVIEW_MOVE_LIST_HEIGHT),
2941+
size=(28, REVIEW_MOVE_LIST_HEIGHT),
29422942
font=('Consolas', 10), key='review_book_k',
29432943
disabled=True, expand_y=True)],
29442944
[sg.Text('Position 0/0', size=(20, 1), font=('Consolas', 10),

0 commit comments

Comments
 (0)