Re: [PATCH] GtkProgressBar incorrectly calculates widget height



Ian Peters <itp ximian com> writes: 
> (BTW I briefly looked at HEAD but the code there seems substantially
> different, and I'm not even sure if it's broken there.)
> 

It's correct there, the logical_rect from Pango is using the
font metrics instead of the text size. (pango_layout_get_extents()
returns two rectangles, the ink_rect which measures the actual text at
hand, and the logical_rect which uses the font metrics).

Havoc




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]