Skip to content

Commit 3bca88a

Browse files
Copilotfsmosca
andcommitted
Disable text wrapping on review analysis panel
Add wrap_lines=False to the analysis Multiline widget so PV lines no longer wrap to the next line even when showing only 7 moves. Agent-Logs-Url: https://github.com/fsmosca/Python-Easy-Chess-GUI/sessions/a59de27c-34e2-4ff2-96fc-0108faea51c8 Co-authored-by: fsmosca <22366935+fsmosca@users.noreply.github.com>
1 parent fcb6abb commit 3bca88a

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
@@ -2950,10 +2950,10 @@ def build_review_layout(self, is_user_white=True):
29502950
key='review_nav_k', relief='sunken')],
29512951
[sg.Text('Analysis stopped', size=(52, 1), font=('Consolas', 10),
29522952
key='review_analysis_status_k', relief='sunken')],
2953-
[sg.Multiline('', do_not_clear=True, autoscroll=False,
2954-
size=(52, REVIEW_ANALYSIS_BOX_HEIGHT),
2955-
font=('Consolas', 10), key='review_analysis_k',
2956-
disabled=True)]
2953+
[sg.Multiline('', do_not_clear=True, autoscroll=False,
2954+
size=(52, REVIEW_ANALYSIS_BOX_HEIGHT),
2955+
font=('Consolas', 10), key='review_analysis_k',
2956+
disabled=True, wrap_lines=False)]
29572957
]
29582958

29592959
board_column = [[sg.Column(board_layout)]]

0 commit comments

Comments
 (0)