Commit 0bbc2b62 authored by Michael Natterer's avatar Michael Natterer 😴

libgimpwidgets: set a min size of 8 chars on GimpColorHexEntry

because GtkEntry's default min size is way too large for this use
parent 1c00c2e4
......@@ -100,6 +100,11 @@ gimp_color_hex_entry_init (GimpColorHexEntry *entry)
gint num_colors;
gint i;
/* GtkEntry's minimum size is way too large, set a reasonable one
* for our use case
gtk_entry_set_width_chars (GTK_ENTRY (entry), 8);
gimp_rgba_set (&entry->color, 0.0, 0.0, 0.0, 1.0);
store = gtk_list_store_new (NUM_COLUMNS, G_TYPE_STRING, GIMP_TYPE_RGB);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment