:right-sidebar: True Alignment =================================================================== .. currentmodule:: gi.repository.Pango .. class:: Alignment :no-contents-entry: ``PangoAlignment`` describes how to align the lines of a ``PangoLayout`` within the available space. If the ``PangoLayout`` is set to justify using :obj:`~gi.repository.Pango.Layout.set_justify`, this only affects partial lines. See :obj:`~gi.repository.Pango.Layout.set_auto_dir` for how text direction affects the interpretation of ``PangoAlignment`` values. Fields ------ .. rst-class:: interim-class .. class:: Alignment :no-index: .. attribute:: CENTER Center the line within the available space .. attribute:: LEFT Put all available space on the right .. attribute:: RIGHT Put all available space on the left