From 298852f6c817f71e8496169b5bbcb55f2fa92c80 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leon=20Teichr=C3=B6b?= Date: Thu, 26 Jan 2023 14:01:45 +0100 Subject: [PATCH] Renamed reinitialize buttons --- src/user_interface.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/user_interface.py b/src/user_interface.py index 743f29b..f893266 100644 --- a/src/user_interface.py +++ b/src/user_interface.py @@ -254,17 +254,17 @@ class ManualMode(Frame): # add button for executing the current entries execute_button = Button(self.buttons_frame, text="Execute", command=self.execute, - pady=5, padx=5, font=BIG_BUTTON_FONT) + pady=5, padx=5, font=SMALL_BUTTON_FONT) execute_button.grid(row=row_counter, column=0, padx=5) # add button for quick power_down power_down_button = Button(self.buttons_frame, text="Power Down All", command=self.power_down, - pady=5, padx=5, font=BIG_BUTTON_FONT) + pady=5, padx=5, font=SMALL_BUTTON_FONT) power_down_button.grid(row=row_counter, column=1, padx=5) # add button for reinitialization of devices reinit_button = Button(self.buttons_frame, text="Reinitialize", command=self.reinitialize, - pady=5, padx=5, font=BIG_BUTTON_FONT) + pady=5, padx=5, font=SMALL_BUTTON_FONT) reinit_button.grid(row=row_counter, column=2, padx=5) row_counter = row_counter + 1 @@ -656,7 +656,7 @@ class CalibrateAmbientField(Frame): pady=5, padx=5, font=SMALL_BUTTON_FONT) self.start_k_calibration_button.grid(row=0, column=1, padx=10, pady=10) # Reinitialize button - self.reinitialize_button = Button(start_button_frame, text="Update and Reinitialize", + self.reinitialize_button = Button(start_button_frame, text="Reinitialize", command=self.reinitialize, pady=5, padx=5, font=SMALL_BUTTON_FONT) self.reinitialize_button.grid(row=0, column=2, padx=10, pady=10) @@ -1081,7 +1081,7 @@ class CalibrateMagnetometerSimple(Frame): # Reinitialize button reinitialize_button_frame = Frame(controls_frame) reinitialize_button_frame.grid(row=2, column=1, columnspan=1) - self.reinitialize_button = Button(reinitialize_button_frame, text="Update and Reinitialize", + self.reinitialize_button = Button(reinitialize_button_frame, text="Reinitialize", command=self.reinitialize, pady=5, padx=5, font=SMALL_BUTTON_FONT) self.reinitialize_button.grid(row=0, column=0, padx=10, pady=(30, 10), sticky="we") @@ -1549,7 +1549,7 @@ class CalibrateMagnetometerComplete(Frame): # Reinitialize button reinitialize_button_frame = Frame(controls_frame) reinitialize_button_frame.grid(row=2, column=1, columnspan=1) - self.reinitialize_button = Button(reinitialize_button_frame, text="Update and Reinitialize", + self.reinitialize_button = Button(reinitialize_button_frame, text="Reinitialize", command=self.reinitialize, pady=5, padx=5, font=SMALL_BUTTON_FONT) self.reinitialize_button.grid(row=0, column=0, padx=10, pady=(30, 10), sticky="we")