halign seems to be ignored if label is word wrapped
Submitted by segfault3
If I set set a label's halign property to something else than GTK_ALIGN_FILL (e.g. GTK_ALIGN_START) and enable word wrapping on the label and set the text to something long enough that it is actually wrapped, then the label is not aligned according to the halign.
Steps to reproduce:
- Create a GtkLabel
- Set the halign property to GTK_ALIGN_START
- Set the wrap property to True
- Leave the wrap-mode property to the default pango.WRAP_WORD (bug does not apply to pango.WRAP_CHAR)
- Set the label text to something long enough to cause wrapping
Result: Label is aligned like halign was set to GTK_ALIGN_FILL.
Expected result: Label is aligned to the left.
Using the deprecated GtkAlignment with xalign = 0 works as expected.