PangoAlignment describes how to align the lines of a PangoLayout within the available space.
PangoAlignment
PangoLayout
If the PangoLayout is set to justify using [methodPango.Layout.set_justify], this only affects partial lines.
Pango
See [methodPango.Layout.set_auto_dir] for how text direction affects the interpretation of PangoAlignment values.
Center the line within the available space
Put all available space on the right
Put all available space on the left
PangoAlignment
describes how to align the lines of aPangoLayout
within the available space.If the
PangoLayout
is set to justify using [methodPango
.Layout.set_justify], this only affects partial lines.See [method
Pango
.Layout.set_auto_dir] for how text direction affects the interpretation ofPangoAlignment
values.