Skip to content

Commit 900ebf8

Browse files
author
CharmySoft
committed
Adjust notif text position
1 parent cc61c88 commit 900ebf8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

ttt_client_gui.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -447,16 +447,16 @@ def __init__(self, parent):
447447

448448
self.draw_board();
449449

450-
# Draw the player_self_text
450+
# Create the player_self_text
451451
player_self_text = self.create_text(96, 128, font="Helvetica 16",
452452
fill=C_COLOR_BLUE_DARK, tags=("player_self_text"));
453-
# Draw the player_match_text
453+
# Create the player_match_text
454454
player_match_text = self.create_text(C_WINDOW_WIDTH - 96, 128,
455455
font="Helvetica 16", fill=C_COLOR_BLUE_DARK,
456456
tags=("player_match_text"));
457457

458-
# Draw the notif text
459-
notif_text = self.create_text(8, C_WINDOW_HEIGHT-64, anchor="w",
458+
# Create the notif text
459+
notif_text = self.create_text(8, C_WINDOW_HEIGHT-8, anchor="sw",
460460
font="Helvetica 16", fill=C_COLOR_BLUE_DARK, tags=("notif_text"));
461461

462462
# Tag all of the drawn widgets for later reference

0 commit comments

Comments
 (0)