diff options
| author | Joris Guyonvarch | 2025-12-28 18:31:49 +0100 |
|---|---|---|
| committer | Joris Guyonvarch | 2025-12-28 18:31:49 +0100 |
| commit | b6f01cd944230eeb1b0eaf089179381c19c9c50f (patch) | |
| tree | 706361c0159c9fe666bee9533ed06c5a81440aa5 | |
| parent | ee1c504a2820d71ecc5e674c6179610920b56ccb (diff) | |
50% width for authors and genres
| -rw-r--r-- | src/book_form.py | 8 |
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é') |
