Skip to content

Commit

Permalink
Fix parameter types for VJustify in GUI
Browse files Browse the repository at this point in the history
  • Loading branch information
yaqwsx committed Oct 13, 2023
1 parent 102e4cd commit 4fcea6a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kikit/panelize_ui_sections.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ def validate(self, s):
return choices[s]
raise PresetError(f"'{s}' is not valid justification value")

class SHVJustify(SChoiceBase):
class SVJustify(SChoiceBase):
def __init__(self, *args, **kwargs):
super().__init__(["top", "bottom", "center"], *args, **kwargs)

Expand Down Expand Up @@ -591,7 +591,7 @@ def ppFiducials(section):
"hjustify": SHJustify(
typeIn(["simple"]),
"Text alignment"),
"vjustify": SHJustify(
"vjustify": SVJustify(
typeIn(["simple"]),
"Text alignment"),
"layer": SLayer(
Expand Down

0 comments on commit 4fcea6a

Please sign in to comment.