GTK: Restore content scaling
It had been broken in eabfcb71be
when
moving from GtkVBox to GtkBox removed homogeneous=false.
This commit is contained in:
parent
3ecbb29863
commit
bfeff3fe66
|
@ -4225,6 +4225,7 @@ common_gtk_main(GApplication *app, gpointer user_data)
|
||||||
|
|
||||||
/* Creating the place for showing DS screens */
|
/* Creating the place for showing DS screens */
|
||||||
pDrawingArea = gtk_drawing_area_new();
|
pDrawingArea = gtk_drawing_area_new();
|
||||||
|
gtk_widget_set_vexpand(pDrawingArea, TRUE);
|
||||||
|
|
||||||
/* This toggle action must not be set active before the pDrawingArea initialization to avoid a GTK warning */
|
/* This toggle action must not be set active before the pDrawingArea initialization to avoid a GTK warning */
|
||||||
g_simple_action_set_state(G_SIMPLE_ACTION(g_action_map_lookup_action(G_ACTION_MAP(app), "gap")), g_variant_new_boolean(config.view_gap));
|
g_simple_action_set_state(G_SIMPLE_ACTION(g_action_map_lookup_action(G_ACTION_MAP(app), "gap")), g_variant_new_boolean(config.view_gap));
|
||||||
|
|
Loading…
Reference in New Issue