app: reduce toolbox color-area size

Reduce the size of the toolbox color-area, and make it square.
This allows for a narrower toolbox layout.
This commit is contained in:
Ell 2020-01-29 22:10:06 +02:00
parent e1398c0306
commit f2c7f49b12
2 changed files with 3 additions and 3 deletions

View File

@ -270,8 +270,8 @@ gimp_fg_bg_editor_get_preferred_width_for_height (GtkWidget *widget,
gint *minimum_width,
gint *natural_width)
{
*minimum_width = height * 4/3;
*natural_width = height * 4/3;
*minimum_width = height;
*natural_width = height;
}
static void

View File

@ -578,7 +578,7 @@ toolbox_create_color_area (GimpToolbox *toolbox,
{
GtkWidget *col_area;
col_area = gimp_toolbox_color_area_create (toolbox, 54, 42);
col_area = gimp_toolbox_color_area_create (toolbox, 40, 38);
g_object_set (col_area,
"halign", GTK_ALIGN_CENTER,
"valign", GTK_ALIGN_CENTER,