claude's gae
This commit is contained in:
+15
-1
@@ -38,7 +38,21 @@ class MainWindow(ctk.CTk):
|
||||
|
||||
# Configure window
|
||||
self.title("Azure Key Vault Secret Manager")
|
||||
self.geometry("950x850")
|
||||
|
||||
# Center window on screen
|
||||
window_width = 950
|
||||
window_height = 850
|
||||
|
||||
# Get screen dimensions
|
||||
screen_width = self.winfo_screenwidth()
|
||||
screen_height = self.winfo_screenheight()
|
||||
|
||||
# Calculate center position
|
||||
center_x = int((screen_width - window_width) / 2)
|
||||
center_y = int((screen_height - window_height) / 2)
|
||||
|
||||
# Set geometry with center position
|
||||
self.geometry(f"{window_width}x{window_height}+{center_x}+{center_y}")
|
||||
|
||||
# Set application icon (if available)
|
||||
self._set_icon()
|
||||
|
||||
Reference in New Issue
Block a user