Revision: 4658
          http://sourceforge.net/p/vexi/code/4658
Author:   mkpg2
Date:     2014-02-14 16:18:06 +0000 (Fri, 14 Feb 2014)
Log Message:
-----------
Date Widget. Support text properties (textcolour, fontsize)

Modified Paths:
--------------
    
branches/vexi3/org.vexi-vexi.widgets/src_main/org/vexi/theme/classic/datefield.t

Modified: 
branches/vexi3/org.vexi-vexi.widgets/src_main/org/vexi/theme/classic/datefield.t
===================================================================
--- 
branches/vexi3/org.vexi-vexi.widgets/src_main/org/vexi/theme/classic/datefield.t
    2014-02-07 03:08:20 UTC (rev 4657)
+++ 
branches/vexi3/org.vexi-vexi.widgets/src_main/org/vexi/theme/classic/datefield.t
    2014-02-14 16:18:06 UTC (rev 4658)
@@ -58,6 +58,8 @@
         
         thisbox.text ++= static.textRead;
         thisbox.text ++= static.textWrite;
+        thisbox.textcolor ++= static.textpropWrite;
+        thisbox.fontsize  ++= static.textpropWrite;
         
         thisbox.value; ///> vexi.js.Date
 
@@ -325,6 +327,14 @@
         trapee.dateview[3].text = v;
     }
     
+    static.textpropWrite = function(v) {
+        cascade = v;
+        for(var i,b in trapee.dateview){
+            b[trapname] = v;
+        }
+    }
+    
+    
     /** TODO - REMOVE
     static.valueformatWrite = function(v) {
         switch (v) {

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience.  Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
_______________________________________________
Vexi-svn mailing list
Vexi-svn@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vexi-svn

Reply via email to