Checkpoint before more window sizing work
This commit is contained in:
@@ -68,6 +68,7 @@ except Exception:
|
||||
# Usa overlay e runner "collaudati"
|
||||
from gestione_aree import BusyOverlay, AsyncRunner
|
||||
from user_session import UserSession
|
||||
from window_placement import place_window_fullsize_below_parent_later
|
||||
|
||||
# === IMPORT procedura async prenota/s-prenota (no pyodbc qui) ===
|
||||
import asyncio
|
||||
@@ -1215,7 +1216,7 @@ def open_pickinglist_window(parent: tk.Misc, db_client, session: UserSession | N
|
||||
|
||||
win = ctk.CTkToplevel(parent)
|
||||
win.title("Gestione Picking List")
|
||||
win.geometry("1200x700+0+100")
|
||||
win.geometry("1200x700")
|
||||
win.minsize(1000, 560)
|
||||
setattr(parent, key, win)
|
||||
|
||||
@@ -1236,10 +1237,7 @@ def open_pickinglist_window(parent: tk.Misc, db_client, session: UserSession | N
|
||||
# Reveal the fully-laid out window only after pending geometry work completes.
|
||||
try:
|
||||
win.update_idletasks()
|
||||
try:
|
||||
win.transient(parent)
|
||||
except Exception:
|
||||
pass
|
||||
place_window_fullsize_below_parent_later(parent, win)
|
||||
try:
|
||||
win.deiconify()
|
||||
except Exception:
|
||||
|
||||
Reference in New Issue
Block a user