Input dialog with double values

Started by INNEO_MMi, May 29, 2020, 01:42:56 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

INNEO_MMi

Hello all,

I am trying to build a user interface which contains double values. I encountered the problem that I can only increase/decrease the input value by an integer value (up/down arrow).
Is it possible to define a smaller step size?

regards

Markus


    # Values UserInterface
    values = [
     ...
     (lux.DIALOG_LABEL, "--"),
     (lux.DIALOG_LABEL, "Import-Optionen:"),
     ("tesselationInput", lux.DIALOG_DOUBLE, "   Tesselierung:", 0.02, (0.001, 1.0)),
     ...]

     # Initialize UI
     optionsUI = lux.getInputDialog(title = ..., desc =..., values = values, id = "....")