summaryrefslogtreecommitdiff
path: root/src/eom-window.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/eom-window.c')
-rw-r--r--src/eom-window.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/eom-window.c b/src/eom-window.c
index 7cfde7b..0d9f636 100644
--- a/src/eom-window.c
+++ b/src/eom-window.c
@@ -2675,6 +2675,11 @@ eom_window_cmd_edit_toolbar (GtkAction *action, gpointer *user_data)
gtk_container_set_border_width (GTK_CONTAINER (editor), 5);
+#if GTK_CHECK_VERSION (3, 0, 0)
+ // Use as much vertical space as available
+ gtk_widget_set_vexpand (GTK_WIDGET (editor), TRUE);
+#endif
+
gtk_box_set_spacing (GTK_BOX (EGG_TOOLBAR_EDITOR (editor)), 5);
gtk_container_add (GTK_CONTAINER (gtk_dialog_get_content_area (GTK_DIALOG (dialog))), editor);