Paul.Withers Posted September 6, 2019 Share Posted September 6, 2019 Hi, I see you can set text fields with validators, one of them is Unigine::Gui::VALIDATOR_FLOAT. Is it possible to allow floating point input WITHOUT allowing scientific notation? For example, if i set a text input box with VALIDATOR float, the user can still enter 'inf' or other valid scientific notation characters 'E,i' etc. Can we disable these extended features of a text input box but still allow float numbers? Cheers Link to comment
silent Posted September 6, 2019 Share Posted September 6, 2019 Hi Paul, I'm afraid that's not possible. You can modify validator behavior directly in Engine source code (or create a new one that will fit your needs). Thanks! How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
Recommended Posts