Skip to content

Commit

Permalink
improve job page ui/ux
Browse files Browse the repository at this point in the history
  • Loading branch information
samirg1 committed Oct 2, 2023
1 parent b2cbdf4 commit ac42af4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/pages/JobPage.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@ class JobPage(Page):
def setup(self) -> None:
# top row
ttk.Label(self.frame, text="Jobs").grid(column=0, row=0, columnspan=1)
ttk.Button(self.frame, text="+", width=1, command=self.add_tests).grid(column=1, row=0, columnspan=1)
add_button = ttk.Button(self.frame, text="+", command=self.add_tests)
add_button.grid(column=1, row=0, columnspan=1)
add_button.focus()
add_button.bind("<Return>", lambda _: add_button.invoke())
ttk.Button(self.frame, text="Settings", command=lambda: self.change_page("SETTINGS")).grid(column=2, row=0, columnspan=2)
ttk.Label(self.frame, text=f"{'-' * 50}").grid(column=0, row=1, columnspan=4)
row = 2
Expand Down

0 comments on commit ac42af4

Please sign in to comment.