1.11.1024 #24
@ -22,7 +22,7 @@ class MainWindow(tk.Tk):
|
|||||||
self.y_height = 383
|
self.y_height = 383
|
||||||
self.monitor_center_x = self.winfo_screenwidth() / 2 - (self.x_width / 2)
|
self.monitor_center_x = self.winfo_screenwidth() / 2 - (self.x_width / 2)
|
||||||
self.monitor_center_y = self.winfo_screenheight() / 2 - (self.y_height / 2)
|
self.monitor_center_y = self.winfo_screenheight() / 2 - (self.y_height / 2)
|
||||||
self.resizable(width=True, height=True)
|
self.resizable(width=False, height=False)
|
||||||
self.title('Wire-Py')
|
self.title('Wire-Py')
|
||||||
self.geometry('%dx%d+%d+%d' % (self.x_width, self.y_height, self.monitor_center_x, self.monitor_center_y))
|
self.geometry('%dx%d+%d+%d' % (self.x_width, self.y_height, self.monitor_center_x, self.monitor_center_y))
|
||||||
self.columnconfigure(0, weight=1)
|
self.columnconfigure(0, weight=1)
|
||||||
|
Loading…
Reference in New Issue
Block a user