mg-pso-gui 0.0.101__tar.gz → 0.0.102__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {mg-pso-gui-0.0.101 → mg-pso-gui-0.0.102}/PKG-INFO +1 -1
- {mg-pso-gui-0.0.101 → mg-pso-gui-0.0.102}/mg_pso_gui.egg-info/PKG-INFO +1 -1
- {mg-pso-gui-0.0.101 → mg-pso-gui-0.0.102}/mgpsogui/gui/HomePage.py +7 -1
- {mg-pso-gui-0.0.101 → mg-pso-gui-0.0.102}/setup.py +1 -1
- {mg-pso-gui-0.0.101 → mg-pso-gui-0.0.102}/mg_pso_gui.egg-info/SOURCES.txt +0 -0
- {mg-pso-gui-0.0.101 → mg-pso-gui-0.0.102}/mg_pso_gui.egg-info/dependency_links.txt +0 -0
- {mg-pso-gui-0.0.101 → mg-pso-gui-0.0.102}/mg_pso_gui.egg-info/entry_points.txt +0 -0
- {mg-pso-gui-0.0.101 → mg-pso-gui-0.0.102}/mg_pso_gui.egg-info/requires.txt +0 -0
- {mg-pso-gui-0.0.101 → mg-pso-gui-0.0.102}/mg_pso_gui.egg-info/top_level.txt +0 -0
- {mg-pso-gui-0.0.101 → mg-pso-gui-0.0.102}/mgpsogui/__init__.py +0 -0
- {mg-pso-gui-0.0.101 → mg-pso-gui-0.0.102}/mgpsogui/gui/BoundsEditorWindow.py +0 -0
- {mg-pso-gui-0.0.101 → mg-pso-gui-0.0.102}/mgpsogui/gui/BoundsList.py +0 -0
- {mg-pso-gui-0.0.101 → mg-pso-gui-0.0.102}/mgpsogui/gui/CalibrationParametersView.py +0 -0
- {mg-pso-gui-0.0.101 → mg-pso-gui-0.0.102}/mgpsogui/gui/FunctionsList.py +0 -0
- {mg-pso-gui-0.0.101 → mg-pso-gui-0.0.102}/mgpsogui/gui/ListParametersView.py +0 -0
- {mg-pso-gui-0.0.101 → mg-pso-gui-0.0.102}/mgpsogui/gui/OptionManager.py +0 -0
- {mg-pso-gui-0.0.101 → mg-pso-gui-0.0.102}/mgpsogui/gui/StaticParameterView.py +0 -0
- {mg-pso-gui-0.0.101 → mg-pso-gui-0.0.102}/mgpsogui/gui/StepView.py +0 -0
- {mg-pso-gui-0.0.101 → mg-pso-gui-0.0.102}/mgpsogui/gui/__init__.py +0 -0
- {mg-pso-gui-0.0.101 → mg-pso-gui-0.0.102}/mgpsogui/gui/images/collapse.png +0 -0
- {mg-pso-gui-0.0.101 → mg-pso-gui-0.0.102}/mgpsogui/gui/images/down.png +0 -0
- {mg-pso-gui-0.0.101 → mg-pso-gui-0.0.102}/mgpsogui/gui/images/expand.png +0 -0
- {mg-pso-gui-0.0.101 → mg-pso-gui-0.0.102}/mgpsogui/gui/images/trash.png +0 -0
- {mg-pso-gui-0.0.101 → mg-pso-gui-0.0.102}/mgpsogui/gui/images/up.png +0 -0
- {mg-pso-gui-0.0.101 → mg-pso-gui-0.0.102}/mgpsogui/mgpsogui.py +0 -0
- {mg-pso-gui-0.0.101 → mg-pso-gui-0.0.102}/mgpsogui/start.yaml +0 -0
- {mg-pso-gui-0.0.101 → mg-pso-gui-0.0.102}/mgpsogui/util/CTkToolTip/__init__.py +0 -0
- {mg-pso-gui-0.0.101 → mg-pso-gui-0.0.102}/mgpsogui/util/CTkToolTip/ctk_tooltip.py +0 -0
- {mg-pso-gui-0.0.101 → mg-pso-gui-0.0.102}/mgpsogui/util/GraphGenerator.py +0 -0
- {mg-pso-gui-0.0.101 → mg-pso-gui-0.0.102}/mgpsogui/util/PSORunner.py +0 -0
- {mg-pso-gui-0.0.101 → mg-pso-gui-0.0.102}/mgpsogui/util/__init__.py +0 -0
- {mg-pso-gui-0.0.101 → mg-pso-gui-0.0.102}/setup.cfg +0 -0
@@ -270,8 +270,14 @@ class App(customtkinter.CTk):
|
|
270
270
|
|
271
271
|
self.graph_image = customtkinter.CTkImage(Image.open(os.path.join("./images", "up.png")), size=(700, 500))
|
272
272
|
self.graph_label = customtkinter.CTkLabel(self.tabview.tab(tab4), text=None, image=self.graph_image)
|
273
|
-
self.tabview.tab(tab4).itemconfig(self.graph_image, tags="all")
|
274
273
|
self.graph_label.grid(row=1, column=0, columnspan=3, padx=(20, 20), pady=(20, 20), sticky="nsew")
|
274
|
+
self.graph_label.bind('<Configure>',self._resize_image)
|
275
|
+
|
276
|
+
def _resize_image(self,event):
|
277
|
+
new_width = event.width
|
278
|
+
new_height = event.height
|
279
|
+
pilimg = self.graph_image.resize((new_width,new_height))
|
280
|
+
self.graph_label.configure(image=customtkinter.CTkImage(pilimg))
|
275
281
|
|
276
282
|
def callback_test(self, *args):
|
277
283
|
print("callback_test called")
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|