Skip to content

User float uniform not allowing values >= 100 #5

@samuknet

Description

@samuknet

When using the keyboard to enter a value for a user uniform (I tried with a float), the QSpinbox input does not allow values >= 100.

It seems the problem occurs because default maximum value for the QSpinBox widget is 99, so this could be fixed in https://github.com/bkainz/ShaderLabFramework/blob/master/qt/uniformEditorWidget.cpp#L254 by calling sBox->setRange() like it is for the int widget in https://github.com/bkainz/ShaderLabFramework/blob/master/qt/uniformEditorWidget.cpp#L239

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions