todo noted

This commit is contained in:
flukx 2024-08-16 16:36:09 +02:00
parent 03e1bf23e3
commit 40e215b614

View file

@ -266,6 +266,7 @@ def show_part_changer(ui_element: nicegui.ui.element, part: Part) -> None:
with ui.column():
for sign_member in ("width", "height", "name_de", "name_en", "fontsize_de", "fontsize_en",
"location_shift_down"):
# todo: convert to int/float/... where it makes sense
input_fields[f"sign.{sign_member}"] = ui.input(
label="sign: " + sign_member,
value=vars(part.sign).get(sign_member, "")