app: fix GimpCanvasProgress' extents for short progress texts

This commit is contained in:
Michael Natterer 2014-06-19 23:29:00 +02:00
parent 001a75e1d2
commit 921bd34495
1 changed files with 2 additions and 0 deletions

View File

@ -245,6 +245,8 @@ gimp_canvas_progress_transform (GimpCanvasItem *item,
pango_layout_get_pixel_size (layout, width, height);
*width = MAX (*width, 2 * RADIUS);
*width += 2 * BORDER;
*height += 3 * BORDER + 2 * RADIUS;