mirror of https://github.com/GNOME/gimp.git
app: fix GimpCanvasProgress' extents for short progress texts
This commit is contained in:
parent
001a75e1d2
commit
921bd34495
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue