TGNumberEntry::SetLimitValues()

Me as a user I was assuming that

will set bounds that must not be exceeded. But it looks like that the option to keep this bounds has to be set separately. I’m calling now explicitly

but I wonder if it is intended that the default call with

is used although limits are set. This is just some feedback to the developers.

Hi,

Yes, it is intended, since you can set the limit values and then just toggle the limit selection with SetNumLimits(). Also, the problem would be then to define what should be the default? min & max? max only? min only? But I agree it is maybe slightly confusing… Anyway, thanks for the feedback.

Cheers, Bertrand.