Renamed reinitialize buttons

This commit is contained in:
2023-01-26 14:01:45 +01:00
parent 82b0d1cfd5
commit 298852f6c8
+6 -6
View File
@@ -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")