inspector: Make dropdowns bigger

If there's enough values to warrant scrolling,
the dropdown was much too small for comfort.
This commit is contained in:
Matthias Clasen 2021-11-30 18:38:33 -05:00
parent f66172451d
commit e0deacd236

View File

@ -1072,7 +1072,12 @@ property_editor (GObject *object,
}
if (j >= 10)
g_object_set (sw, "vscrollbar-policy", GTK_POLICY_AUTOMATIC, NULL);
{
g_object_set (sw,
"vscrollbar-policy", GTK_POLICY_AUTOMATIC,
"min-content-height", 250,
NULL);
}
g_type_class_unref (fclass);