Skip to content

Commit

Permalink
Merge pull request #79 from samirg1/improve-jobpage-ui-ux
Browse files Browse the repository at this point in the history
improve job page ui/ux
  • Loading branch information
samirg1 authored Oct 2, 2023
2 parents b2cbdf4 + ac42af4 commit 68729ec
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 68729ec

Please sign in to comment.