From fd8897159887956ad885ee4c448f5f6700fdef35 Mon Sep 17 00:00:00 2001 From: Brandon Wright Date: Mon, 27 Jul 2020 17:58:03 -0500 Subject: [PATCH] Gtk: Don't expand shader parameter widgets. --- gtk/src/gtk_shader_parameters.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/src/gtk_shader_parameters.cpp b/gtk/src/gtk_shader_parameters.cpp index 7d605741..377167a9 100644 --- a/gtk/src/gtk_shader_parameters.cpp +++ b/gtk/src/gtk_shader_parameters.cpp @@ -152,7 +152,7 @@ bool gtk_shader_parameters_dialog(GtkWindow *parent) grid->set_row_spacing(2); grid->set_column_spacing(12); auto vbox = new Gtk::VBox; - vbox->pack_start(*grid); + vbox->pack_start(*grid, Gtk::PACK_SHRINK); scrolled_window->add(*vbox); auto sizegroup = Gtk::SizeGroup::create(Gtk::SIZE_GROUP_HORIZONTAL);