[Date Prev][Date Next][Thread Prev][Thread Next][Thread Index]

[XaraXtreme-dev] Numeric values and internationalisation



I have big problems entering values into editable fields because it 
seems that the values are displayed in local representation but not 
read accordingly.

For instance, the line spacing of a newly created text object is 
displayed as 100,00% which is the correct representation on a German 
machine. Changing this to 120,00% and pressing Return results in 
12000,00% being applied and displayed. Apparently, the decimal comma 
is ignored when reading the value. So, to reliably enter a value on a 
German machine, the user has to remove the decimal comma manually.

Even more confusingly, some fields are linked, so changing one causes 
the other to be read as well. For instance, the current position of 
the selection may be displayed as X: 200,00 Y: 300,00 - changing the X 
position to 210 (carefully removing the comma) and pressing Return 
results in X: 210,00 Y: 30000,00 to be applied because the Y field is 
interpreted as well. So, to change either the X or Y position, the 
user has to edit both values and remove the commas.

Martin