Revision: 4889
http://sourceforge.net/p/vexi/code/4889
Author: mkpg2
Date: 2016-10-21 19:34:12 +0000 (Fri, 21 Oct 2016)
Log Message:
-----------
Modified Paths:
--------------
branches/vexi3/org.vexi-vexi.widgets/src_main/org/vexi/lib/widget/numfield.t
Modified:
branches/vexi3/org.vexi-vexi.widgets/src_main/org/vexi/lib/widget/numfield.t
===================================================================
---
branches/vexi3/org.vexi-vexi.widgets/src_main/org/vexi/lib/widget/numfield.t
2016-10-21 19:12:16 UTC (rev 4888)
+++
branches/vexi3/org.vexi-vexi.widgets/src_main/org/vexi/lib/widget/numfield.t
2016-10-21 19:34:12 UTC (rev 4889)
@@ -23,6 +23,7 @@
// if negative, number of trailing 0s
thisbox.minDP;
thisbox.maxDP;
+ thisbox.maxSF;
KeyTyped ++= static.keytypedEvent;
KeyPressed ++= static.keypressEvent;
@@ -75,7 +76,7 @@
if (d==null) return "";
const minDP = thisbox.minDP==null?scale:thisbox.minDP;
const maxDP = thisbox.maxDP==null?scale:thisbox.maxDP;
- return d.toDecimalString(minDP, maxDP);
+ return d.toDecimalString(minDP, maxDP, thisbox.maxSF);
}
</ui:box>
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Vexi-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/vexi-svn