forked from zietzm/Helmholtz_Test_Bench
Fixed button formatting
This commit is contained in:
+8
-13
@@ -688,13 +688,11 @@ class CalibrateAmbientField(Frame):
|
||||
self.ambient_field_save_results_button.grid(row=0, column=0, padx=5, pady=5)
|
||||
self.save_ambient_calibration_button = Button(save_ambient_field_results_frame, text="Export raw CSV",
|
||||
command=self.save_to_csv_ambient_field,
|
||||
state="disabled",
|
||||
pady=5, padx=5)
|
||||
state="disabled")
|
||||
self.save_ambient_calibration_button.grid(row=0, column=1, padx=5, pady=5)
|
||||
self.copy_ambient_calibration_button = Button(save_ambient_field_results_frame, text="Copy to clipboard",
|
||||
command=self.copy_to_clipboard_ambient_field,
|
||||
state="disabled",
|
||||
pady=5, padx=5)
|
||||
state="disabled")
|
||||
self.copy_ambient_calibration_button.grid(row=0, column=2, padx=5, pady=5)
|
||||
row_counter += 1
|
||||
|
||||
@@ -750,18 +748,15 @@ class CalibrateAmbientField(Frame):
|
||||
state="disabled")
|
||||
self.coil_constant_save_results_button.grid(row=0, column=0, padx=5, pady=5)
|
||||
self.save_k_calibration_button = Button(save_coil_constant_results_frame, text="Export raw CSV",
|
||||
command=self.save_to_csv_coil_constants,
|
||||
state="disabled",
|
||||
pady=5, padx=5)
|
||||
command=self.save_to_csv_coil_constants,
|
||||
state="disabled")
|
||||
self.save_k_calibration_button.grid(row=0, column=1, padx=5, pady=5)
|
||||
self.copy_coil_constant_button = Button(save_coil_constant_results_frame, text="Copy to clipboard",
|
||||
command=self.copy_to_clipboard_coil_constants,
|
||||
state="disabled",
|
||||
pady=5, padx=5)
|
||||
command=self.copy_to_clipboard_coil_constants,
|
||||
state="disabled")
|
||||
self.copy_coil_constant_button.grid(row=0, column=2, padx=5, pady=5)
|
||||
row_counter += 1
|
||||
|
||||
|
||||
# This starts an endless polling loop
|
||||
self.update_view()
|
||||
|
||||
@@ -1032,8 +1027,8 @@ class CalibrateMagnetometer(Frame):
|
||||
start_button_frame = Frame(controls_frame)
|
||||
start_button_frame.grid(row=2, column=0, columnspan=2)
|
||||
self.start_calibration_button = Button(start_button_frame, text="Start Calibration",
|
||||
command=self.start_calibration_procedure,
|
||||
pady=5, padx=5, font=SMALL_BUTTON_FONT)
|
||||
command=self.start_calibration_procedure,
|
||||
pady=5, padx=5, font=SMALL_BUTTON_FONT)
|
||||
self.start_calibration_button.grid(row=0, column=0, padx=10, pady=(30, 10))
|
||||
# Calibration progress bar
|
||||
progress_bar_frame = Frame(controls_frame)
|
||||
|
||||
Reference in New Issue
Block a user