map name in desc window
This commit is contained in:
parent
016ac80ec7
commit
1b59262462
@ -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.after(210, lambda: description_window.iconbitmap(os.path.join(RESOURCES_DIR, "ryuk.ico")))
|
||||||
|
|
||||||
description_window.attributes('-topmost', 'true')
|
description_window.attributes('-topmost', 'true')
|
||||||
description_window.title("Description")
|
description_window.title(f"Description - {map_name}")
|
||||||
x_pos = event.x_root - 300
|
x_pos = event.x_root - 300
|
||||||
y_pos = event.y_root - 200
|
y_pos = event.y_root - 200
|
||||||
calc_req_width = len(description) * 6 + 5
|
calc_req_width = len(description) * 6 + 5
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
from turtle import title
|
||||||
from src.update_window import check_for_updates_func
|
from src.update_window import check_for_updates_func
|
||||||
from src.helpers import *
|
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.after(210, lambda: description_window.iconbitmap(os.path.join(RESOURCES_DIR, "ryuk.ico")))
|
||||||
|
|
||||||
description_window.attributes('-topmost', 'true')
|
description_window.attributes('-topmost', 'true')
|
||||||
description_window.title("Description")
|
description_window.title(f"Description - {map_name}")
|
||||||
x_pos = event.x_root - 300
|
x_pos = event.x_root - 300
|
||||||
y_pos = event.y_root - 200
|
y_pos = event.y_root - 200
|
||||||
calc_req_width = len(description) * 6 + 5
|
calc_req_width = len(description) * 6 + 5
|
||||||
|
Loading…
Reference in New Issue
Block a user