Pango alignment versus wrapping

PangoLayout will display text in a GtkLabel with PANGO_ALIGN_LEFT alignment as long as pango_layout_is_wrapped() returns FALSE. When something causes wrapping to occur, the text is displayed as though PANGO_ALIGN_CENTER had been requested, even though pango_layout_get_alignment() continues to return PANGO_ALIGN_LEFT.

Is this a feature or a bug?

If it’s a feature, is there a way to override it, so that PANGO_ALIGN_LEFT remains in effect?

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.