Pango alignment versus wrapping

Pango::Layout will display text in a Gtk::Label with PANGO_ALIGN_LEFT alignment as long as is_wrapped() returns FALSE. When something causes wrapping to occur, Pango::Layout then displays the text as though PANGO_ALIGN_CENTER had been requested, even though 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?

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