Georg Baum wrote: > That was a float <-> string question (thread "validators for the rest" > from 11/2004). Unfortunately I could not find the reason. > IMO if something is a floating point value it should not be truncated to > an integer. I don't care if the values are stored as strings in or > something else, but since LaTeX allows a scale value of 94.5% I want to > be able to enter that.
I'm not really sure if we should provide a gui for that. I never seen someone using or proposing a value like "scaled=0.945", and in terms of the goal of this option (adjusting the font height to the roman one), I don't think this is needed (because the difference of 0.94 or 0.95 and 0.945 in 9-14pt base font size [i.e. 0.045-0.07 pt!] is hardly if at all visible. No dtp program in the world provides such fine grained steps). Anyway, I'd really be careful to not betray the user to overuse this scale function. Since the QSpinBox is not able to deal with floating values anyway, I don't want to change the gui just for the sake of the principle. If you insist, I can change the param value from integer to float just to make it basically possible, even if I doubt this is of any use. Jürgen
