Skip to content

Commit

Permalink
Better column sizing when author is included
Browse files Browse the repository at this point in the history
  • Loading branch information
thalman committed Jul 23, 2024
1 parent adfe278 commit 6ccec42
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/neknihy.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,11 +168,11 @@ def createGUI(self):
tree.heading("book", text='Kniha')
tree.column("book", minwidth=0, width=300)
tree.heading("author", text='Autor')
tree.column("author", minwidth=0, width=150)
tree.column("author", minwidth=0, width=300)
tree.heading("rent", text='Výpůjčka do')
tree.column("rent", minwidth=0, width=150)
tree.heading("status", text='Stav')
tree.column("status", minwidth=0, width=400)
tree.column("status", minwidth=0, width=250)
self._tree = tree

# settings page
Expand Down

0 comments on commit 6ccec42

Please sign in to comment.