map name in desc window

This commit is contained in:
faroukbmiled 2023-09-23 14:16:51 +01:00
parent 016ac80ec7
commit 1b59262462
2 changed files with 3 additions and 2 deletions

View File

@ -587,7 +587,7 @@ class LibraryTab(ctk.CTkScrollableFrame):
description_window.after(210, lambda: description_window.iconbitmap(os.path.join(RESOURCES_DIR, "ryuk.ico")))
description_window.attributes('-topmost', 'true')
description_window.title("Description")
description_window.title(f"Description - {map_name}")
x_pos = event.x_root - 300
y_pos = event.y_root - 200
calc_req_width = len(description) * 6 + 5

View File

@ -1,3 +1,4 @@
from turtle import title
from src.update_window import check_for_updates_func
from src.helpers import *
@ -666,7 +667,7 @@ class BOIIIWD(ctk.CTk):
description_window.after(210, lambda: description_window.iconbitmap(os.path.join(RESOURCES_DIR, "ryuk.ico")))
description_window.attributes('-topmost', 'true')
description_window.title("Description")
description_window.title(f"Description - {map_name}")
x_pos = event.x_root - 300
y_pos = event.y_root - 200
calc_req_width = len(description) * 6 + 5