Skip to content

Commit 4fcea6a

Browse files
committed
Fix parameter types for VJustify in GUI
1 parent 102e4cd commit 4fcea6a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

kikit/panelize_ui_sections.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ def validate(self, s):
156156
return choices[s]
157157
raise PresetError(f"'{s}' is not valid justification value")
158158

159-
class SHVJustify(SChoiceBase):
159+
class SVJustify(SChoiceBase):
160160
def __init__(self, *args, **kwargs):
161161
super().__init__(["top", "bottom", "center"], *args, **kwargs)
162162

@@ -591,7 +591,7 @@ def ppFiducials(section):
591591
"hjustify": SHJustify(
592592
typeIn(["simple"]),
593593
"Text alignment"),
594-
"vjustify": SHJustify(
594+
"vjustify": SVJustify(
595595
typeIn(["simple"]),
596596
"Text alignment"),
597597
"layer": SLayer(

0 commit comments

Comments
 (0)