Block value as text in scene (and colorbar) does not format well
Issue #111
resolved
Maybe setting is required? John complains that the string would end-up having too many significant digits, which makes it hard to see.
Comments (2)
-
reporter -
reporter - changed status to resolved
Fix issue
#111when user edit a value in ROCKS/GENER table, the text in scene showed too many significant digits.QVariant.toFloat() corrected to .toDouble(). I was actually loosing precision when user edits the tables.
→ <<cset ed595a128993>>
- Log in to comment
I think this ONLY happens when someone edit the values in ROCKS or GENER table???
This is caused by that when user edit the table, the value is then converted into float instead of double from QVariant type.
However, I should still consider actually limit the text length???