Skip to content

Commit d87978a

Browse files
Improved docstring of WindowAlign.
1 parent 7f97433 commit d87978a

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

prompt_toolkit/layout/containers.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1146,7 +1146,13 @@ def __init__(self, position, style='class:color-column'):
11461146

11471147

11481148
class WindowAlign:
1149-
" Alignment of Window content. "
1149+
"""
1150+
Alignment of the Window content.
1151+
1152+
Note that this is different from `HorizontalAlign` and `VerticalAlign`,
1153+
which are used for the alignment of the child containers in respectively
1154+
`VSplit` and `HSplit`.
1155+
"""
11501156
LEFT = 'LEFT'
11511157
RIGHT = 'RIGHT'
11521158
CENTER = 'CENTER'

0 commit comments

Comments
 (0)