Skip to content

Commit

Permalink
Fix edit button container misalignment with right edge of preview
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasvana10 committed Jun 25, 2024
1 parent ada800c commit 5c6f525
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crossword_puzzle/pages/editor.py
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,7 @@ def _place_content(self) -> None:
self.preview.grid(row=1, column=0, padx=(0, 50))
self.b_add.pack(side="right", anchor="e")
self.b_remove.pack(side="right", anchor="e", padx=(81.5, 10))
self.b_edit_container.grid(row=2, column=0, pady=(7.5, 0))
self.b_edit_container.grid(row=2, column=0, pady=(7.5, 0), padx=(50, 0))
self.name_form.grid(row=0, column=0)
self.symbol_form.grid(row=1, column=0)
self.l_difficulty.grid(
Expand Down Expand Up @@ -805,7 +805,7 @@ def _place_content(self) -> None:
self.preview.grid(row=1, column=0, padx=(0, 50))
self.b_add.pack(side="right", anchor="e")
self.b_remove.pack(side="right", anchor="e", padx=(81.5, 10))
self.b_edit_container.grid(row=2, column=0, pady=(7.5, 0))
self.b_edit_container.grid(row=2, column=0, pady=(7.5, 0), padx=(50, 0))
self.word_form.grid(row=0, column=0)
self.clue_form.grid(row=1, column=0)
self.b_confirm.grid(row=2, column=0, sticky="w", pady=(20, 0))
Expand Down

0 comments on commit 5c6f525

Please sign in to comment.