Revision 44669 trunk/org.gvsig.desktop/org.gvsig.desktop.library/org.gvsig.newlayer/org.gvsig.newlayer.lib/org.gvsig.newlayer.lib.impl/src/main/java/org/gvsig/newlayer/impl/FeatureTypePanel.java
FeatureTypePanel.java | ||
---|---|---|
860 | 860 |
// TODO Improve this? |
861 | 861 |
// Half of the size dedicated |
862 | 862 |
// to precision (at least 1) |
863 |
efad1.setPrecision(Math.max(1, fieldLength/2)); |
|
863 |
efad1.setPrecision(fieldLength); |
|
864 |
efad1.setScale(Math.max(1, fieldLength/2)); |
|
864 | 865 |
} |
865 | 866 |
|
866 | 867 |
if (dataType.getType() == DataTypes.GEOMETRY) { |
Also available in: Unified diff