mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Better fit for some report option widgets in options dialog.
Replaces https://github.com/Gnucash/gnucash/pull/1975
This commit is contained in:
parent
6b87388987
commit
a626e944a3
@ -217,7 +217,8 @@ create_options_box(GtkBox* content_box)
|
||||
gtk_grid_set_column_homogeneous (GTK_GRID(options_box), FALSE);
|
||||
gtk_grid_set_row_spacing (GTK_GRID(options_box), 6);
|
||||
gtk_grid_set_column_spacing (GTK_GRID(options_box), 6);
|
||||
|
||||
git_widget_set_halign (GTK_WIDGET(options_box), GTK_ALIGN_START);
|
||||
|
||||
gtk_container_set_border_width(GTK_CONTAINER(options_box), 0);
|
||||
gtk_container_add (GTK_CONTAINER(options_scrolled_win),
|
||||
GTK_WIDGET(options_box));
|
||||
|
@ -20,6 +20,7 @@
|
||||
* Boston, MA 02110-1301, USA gnu@gnu.org *
|
||||
\********************************************************************/
|
||||
|
||||
#include <__nullptr>
|
||||
#include <gnc-option.hpp>
|
||||
#include <gnc-option-impl.hpp>
|
||||
#include "gnc-option-gtk-ui.hpp"
|
||||
@ -1104,6 +1105,10 @@ create_option_widget<GncOptionUIType::ACCOUNT_SEL> (GncOption& option,
|
||||
g_signal_connect(widget, "account_sel_changed",
|
||||
G_CALLBACK(gnc_option_changed_widget_cb), &option);
|
||||
wrap_widget(option, widget, page_box, row);
|
||||
// wrap_widget sets the parent so this comes after.
|
||||
gtk_container_child_set(GTK_CONTAINER(gtk_widget_get_parent(widget)),
|
||||
widget, "fill", TRUE, "expand", TRUE,
|
||||
nullptr);
|
||||
}
|
||||
|
||||
static void
|
||||
|
Loading…
Reference in New Issue
Block a user