Swapped next and quit buttons

This commit is contained in:
JustinOros
2025-07-09 08:27:58 -07:00
parent b6d7cc0e20
commit dccc2501fa
+3 -3
View File
@@ -110,12 +110,12 @@ class QuizGUI:
nav_frame = tk.Frame(master) nav_frame = tk.Frame(master)
nav_frame.pack(pady=10) nav_frame.pack(pady=10)
self.next_button = tk.Button(nav_frame, text="Next", command=self.check_answer)
self.next_button.pack(side=tk.LEFT, padx=5)
self.quit_button = tk.Button(nav_frame, text="Quit", command=self.quit_quiz) self.quit_button = tk.Button(nav_frame, text="Quit", command=self.quit_quiz)
self.quit_button.pack(side=tk.LEFT, padx=5) self.quit_button.pack(side=tk.LEFT, padx=5)
self.next_button = tk.Button(nav_frame, text="Next", command=self.check_answer)
self.next_button.pack(side=tk.LEFT, padx=5)
self.load_next_question() self.load_next_question()
def resize_to_fit_text(self, text): def resize_to_fit_text(self, text):