mg-pso-gui 0.0.132__py3-none-any.whl → 0.0.134__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: mg-pso-gui
3
- Version: 0.0.132
3
+ Version: 0.0.134
4
4
  Summary: GUI for MG-PSO
5
5
  Author: Robert Cordingly
6
6
  Author-email: <rcording@uw.ed>
@@ -1,7 +1,7 @@
1
1
  mgpsogui/__init__.py,sha256=q7AfBjeJABnFtbsZnsObpUwaXKPDVYtz46G6MKXLF74,42
2
2
  mgpsogui/mgpsogui.py,sha256=NIZmyNcbwC8EgSwf1ubdMUSJscrIEgoD4jLYziqHQ-k,148
3
3
  mgpsogui/start.yaml,sha256=ZjCVLb-MLqAxrGRm9kA7_SDpa-45EuKIELNQ2QqCAiU,4713
4
- mgpsogui/gui/HomePage.py,sha256=m6xnzalBA9iESJ0uoXyQENwQJOOzmBqKkJxllwSXsCk,25613
4
+ mgpsogui/gui/HomePage.py,sha256=aPHzcPv8oMzok8yiuHJz3XJRldgLcxRGx2cLCYnD6l0,25647
5
5
  mgpsogui/gui/OptionManager.py,sha256=bFN2jWJbx1Din3waOFLmbWGt0BXD_KthGJ8Mgue_FEE,11712
6
6
  mgpsogui/gui/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
7
7
  mgpsogui/gui/PlatformTab/PlatformTab.py,sha256=N2HSRqT45NH4PPeOwXdLhOASMDjh-1OwUa2WmV47T5M,10465
@@ -25,8 +25,8 @@ mgpsogui/util/PSORunner.py,sha256=7iUYRUXgpZ0l0rqoyHQYY1Yg9q0gl9TE0jNaHZMv04c,29
25
25
  mgpsogui/util/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
26
26
  mgpsogui/util/CTkToolTip/__init__.py,sha256=G1jxV55hGtGgwyC1sR-uUUdasDdh0XZgcI-aILgGYA0,225
27
27
  mgpsogui/util/CTkToolTip/ctk_tooltip.py,sha256=SZMovpQIGvdpDRbqCKl9SHs92DrFCO2MOYL2ifolvOE,6329
28
- mg_pso_gui-0.0.132.dist-info/METADATA,sha256=KI9pJZXXrsfKsZkUD7TGbB4qVDpN3GyuJPigXfgfsYE,9459
29
- mg_pso_gui-0.0.132.dist-info/WHEEL,sha256=Xo9-1PvkuimrydujYJAjF7pCkriuXBpUPEjma1nZyJ0,92
30
- mg_pso_gui-0.0.132.dist-info/entry_points.txt,sha256=jg82VOFjR1XDGrchs1wJSCqKYE4Ozv12aBcCSp--koA,117
31
- mg_pso_gui-0.0.132.dist-info/top_level.txt,sha256=y7JuS9xJN5YdxUsQ3PSVjN8MzQAnR146bP3ZN3PYWdE,9
32
- mg_pso_gui-0.0.132.dist-info/RECORD,,
28
+ mg_pso_gui-0.0.134.dist-info/METADATA,sha256=kobwethE13JyE9WBtQHXPWnru94NXF2Jtp-QzgdMQQE,9459
29
+ mg_pso_gui-0.0.134.dist-info/WHEEL,sha256=Xo9-1PvkuimrydujYJAjF7pCkriuXBpUPEjma1nZyJ0,92
30
+ mg_pso_gui-0.0.134.dist-info/entry_points.txt,sha256=jg82VOFjR1XDGrchs1wJSCqKYE4Ozv12aBcCSp--koA,117
31
+ mg_pso_gui-0.0.134.dist-info/top_level.txt,sha256=y7JuS9xJN5YdxUsQ3PSVjN8MzQAnR146bP3ZN3PYWdE,9
32
+ mg_pso_gui-0.0.134.dist-info/RECORD,,
mgpsogui/gui/HomePage.py CHANGED
@@ -66,34 +66,34 @@ class App(customtkinter.CTk):
66
66
  self.geometry(f"{1920}x{1080}")
67
67
 
68
68
  # configure grid layout (4x4)
69
- self.grid_columnconfigure(1, weight=8)
70
- self.grid_columnconfigure(2, weight=1)
71
- self.grid_rowconfigure((1), weight=1)
72
- self.grid_rowconfigure((0), weight=4)
69
+ self.grid_columnconfigure(0, weight=1)
70
+ self.grid_rowconfigure(1, weight=1)
73
71
 
74
- # create sidebar frame with widgets
72
+ header_padding_x = (10, 10)
73
+ header_padding_y = (5, 5)
74
+
75
75
  self.sidebar_frame = customtkinter.CTkFrame(self, width=140, corner_radius=0)
76
- self.sidebar_frame.grid(row=0, column=0, columnspan=4, sticky="nsew")
76
+ self.sidebar_frame.grid(row=0, column=0, sticky="nsew")
77
77
  self.sidebar_frame.grid_columnconfigure(4, weight=1)
78
78
  self.logo_label = customtkinter.CTkLabel(self.sidebar_frame, text="CSIP PSO", font=customtkinter.CTkFont(size=20, weight="bold"))
79
- self.logo_label.grid(row=0, column=0, padx=20, pady=(20, 20))
79
+ self.logo_label.grid(row=0, column=0, padx=header_padding_x, pady=header_padding_y)
80
80
  self.save_button = customtkinter.CTkButton(self.sidebar_frame, text="Save", command=self.save_project)
81
- self.save_button.grid(row=0, column=1, padx=20, pady=(10, 10))
81
+ self.save_button.grid(row=0, column=1, padx=header_padding_x, pady=header_padding_y)
82
82
  self.load_button = customtkinter.CTkButton(self.sidebar_frame, text="Load", command=self.load_project)
83
- self.load_button.grid(row=0, column=1, padx=20, pady=(10, 10))
83
+ self.load_button.grid(row=0, column=2, padx=header_padding_x, pady=header_padding_y)
84
84
 
85
85
  self.new_window = customtkinter.CTkButton(self.sidebar_frame, text="New Window", command=self.new_window)
86
- self.new_window.grid(row=0, column=6, padx=20, pady=(10, 10))
86
+ self.new_window.grid(row=0, column=6, padx=header_padding_x, pady=header_padding_y)
87
87
 
88
88
  self.scaling_label = customtkinter.CTkLabel(self.sidebar_frame, text="Scale:", anchor="w")
89
- self.scaling_label.grid(row=0, column=7, padx=20, pady=(10, 0))
89
+ self.scaling_label.grid(row=0, column=7, padx=header_padding_x, pady=header_padding_y)
90
90
  self.scaling_optionemenu = customtkinter.CTkOptionMenu(self.sidebar_frame, values=["50%", "75%", "100%", "150%", "200%"],
91
91
  command=self.change_scaling_event)
92
- self.scaling_optionemenu.grid(row=0, column=8, padx=20, pady=(10, 20))
92
+ self.scaling_optionemenu.grid(row=0, column=8, padx=header_padding_x, pady=header_padding_y)
93
93
  self.scaling_optionemenu.set("100%")
94
94
 
95
95
  self.tabview = customtkinter.CTkTabview(self)
96
- self.tabview.grid(row=1, column=0, columnspan=2, rowspan=2, padx=(20, 20), pady=(20, 20), sticky="nsew")
96
+ self.tabview.grid(row=1, column=0, padx=(60, 60), pady=(10, 10), sticky="nsew")
97
97
  tab1 = "Platform"
98
98
  tab2 = "Setup"
99
99
  tab3 = "Run"