From b6f01cd944230eeb1b0eaf089179381c19c9c50f Mon Sep 17 00:00:00 2001 From: Joris Guyonvarch Date: Sun, 28 Dec 2025 18:31:49 +0100 Subject: 50% width for authors and genres --- src/book_form.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src') 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é') -- cgit v1.2.3