aboutsummaryrefslogtreecommitdiff
path: root/src/book_form.py
diff options
context:
space:
mode:
authorJoris Guyonvarch2025-12-28 18:31:49 +0100
committerJoris Guyonvarch2025-12-28 18:31:49 +0100
commitb6f01cd944230eeb1b0eaf089179381c19c9c50f (patch)
tree706361c0159c9fe666bee9533ed06c5a81440aa5 /src/book_form.py
parentee1c504a2820d71ecc5e674c6179610920b56ccb (diff)
50% width for authors and genres
Diffstat (limited to 'src/book_form.py')
-rw-r--r--src/book_form.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/book_form.py b/src/book_form.py
index 6ac70f4..cff4907 100644
--- a/src/book_form.py
+++ b/src/book_form.py
@@ -52,12 +52,14 @@ class BookForm(Gtk.Window):
self._progress = dropdown(year_lang_progress, 'Progrès', models.all_progress, init_progress)
# Authors, genres
- authors_genres = Gtk.Box(spacing=10)
+ authors_genres = Gtk.Grid()
+ authors_genres.set_column_spacing(10)
+ authors_genres.set_column_homogeneous(True)
box.append(authors_genres)
self._authors = EntryList('Auteurs')
- authors_genres.append(self._authors)
+ authors_genres.attach(self._authors, 0, 0, 1, 1)
self._genres = EntryList('Genres')
- authors_genres.append(self._genres)
+ authors_genres.attach(self._genres, 1, 0, 1, 1)
# Summary
summary_box = label_box(box, 'Résumé')