Re: [PATCH] GtkProgressBar incorrectly calculates widget height
- From: Havoc Pennington <hp redhat com>
- To: Ian Peters <itp ximian com>
- Cc: gtk-devel-list gnome org
- Subject: Re: [PATCH] GtkProgressBar incorrectly calculates widget height
- Date: 09 Feb 2001 12:54:10 -0500
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]