Skip to content

Commit

Permalink
Fixed workout names shifting to the left when adding a step with a lo…
Browse files Browse the repository at this point in the history
…ng name
  • Loading branch information
MrBananaPants committed Aug 25, 2022
1 parent d2782c8 commit 570d1db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions PyFit.py
Original file line number Diff line number Diff line change
Expand Up @@ -572,8 +572,8 @@ def main():
weight_label = ctk.CTkLabel(master=viewer_frame, text="Weight (kg)")
weight_label.place(relx=0.85, rely=0.0325, anchor=ctk.CENTER)

exercise_text = ctk.CTkLabel(master=viewer_frame, width=250, height=200, text="", bg_color=("#e2e2e2", "#333333"), justify="left", anchor="n")
exercise_text.place(relx=0.15, rely=0.075, anchor=ctk.N)
exercise_text = ctk.CTkLabel(master=viewer_frame, width=200, height=200, text="", bg_color=("#e2e2e2", "#333333"), justify="left", anchor="w")
exercise_text.place(relx=0.25, rely=0.075, anchor=ctk.N)

reps_text = ctk.CTkLabel(master=viewer_frame, width=80, text="", bg_color=("#e2e2e2", "#333333"), justify="center")
reps_text.place(relx=0.45, rely=0.075, anchor=ctk.N)
Expand Down

0 comments on commit 570d1db

Please sign in to comment.