Skip to content

Commit

Permalink
chore: add missing alignments for ALIGNMENTS
Browse files Browse the repository at this point in the history
  • Loading branch information
phil65 committed May 14, 2023
1 parent 621b5a1 commit 02e2aa9
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions prettyqt/constants/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,10 +107,14 @@

ALIGNMENTS = bidict(
none=Qt.AlignmentFlag(0),
left=ALIGN_CENTER_LEFT,
right=ALIGN_CENTER_RIGHT,
top=ALIGN_TOP_CENTER,
bottom=ALIGN_BOTTOM_CENTER,
left=ALIGN_LEFT,
center_left=ALIGN_CENTER_LEFT,
right=ALIGN_RIGHT,
center_right=ALIGN_CENTER_RIGHT,
top_center=ALIGN_TOP_CENTER,
top=ALIGN_TOP,
bottom=ALIGN_BOTTOM,
bottom_center=ALIGN_BOTTOM_CENTER,
top_left=ALIGN_TOP_LEFT,
top_right=ALIGN_TOP_RIGHT,
bottom_left=ALIGN_BOTTOM_LEFT,
Expand All @@ -119,14 +123,16 @@
)

AlignmentStr = Literal[
"top",
"none",
"left",
"right",
"top",
"bottom",
"top_left",
"top_right",
"bottom_left",
"bottom_right",
"center",
]

SIDES = bidict(
Expand Down

0 comments on commit 02e2aa9

Please sign in to comment.