Revision: 4675
          http://sourceforge.net/p/vexi/code/4675
Author:   clrg
Date:     2014-03-17 16:35:57 +0000 (Mon, 17 Mar 2014)
Log Message:
-----------
Make widgets fill to init.fill on fill=null put (use "#0000" for transparency)

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

Modified: 
branches/vexi3/org.vexi-vexi.widgets/src_main/org/vexi/theme/classic/lib/finalize.t
===================================================================
--- 
branches/vexi3/org.vexi-vexi.widgets/src_main/org/vexi/theme/classic/lib/finalize.t
 2014-03-13 21:23:13 UTC (rev 4674)
+++ 
branches/vexi3/org.vexi-vexi.widgets/src_main/org/vexi/theme/classic/lib/finalize.t
 2014-03-17 16:35:57 UTC (rev 4675)
@@ -1,12 +1,13 @@
-<!-- Copyright 2011 - see COPYING for details [LGPL] -->
+<!-- Copyright (c) - see COPYING for details [LGPL] -->
 
-<vexi xmlns:ui="vexi://ui" xmlns:meta="vexi://meta" xmlns="vexi.theme"
-    xmlns:rdt="vexi.util.redirect">
-    <meta:doc>
-        This template adds some common finishing touches to several
-        of the classic theme widgets.
-    </meta:doc>
+<vexi xmlns:ui="vexi://ui"
+      xmlns:rdt="vexi.util.redirect"
+      xmlns="vexi.theme">
     
+    /* This template adds some common finishing touches to several
+     * of the Classic theme widgets.
+     */
+    
     <ui:box>
         // v_ready because any visual properties have
         // been initialized by this point in container
@@ -52,7 +53,7 @@
     static.fillWrite = function(v) {
         if (trapee.enabled or trapee.v_filloverride)
             cascade = v;
-        else trapee.v_fillenabled = v;
+        else trapee.v_fillenabled = v!=null ? v : (trapee.v_init?.fill);
     }
     
 </vexi>
\ No newline at end of file

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


------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
Vexi-svn mailing list
Vexi-svn@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vexi-svn

Reply via email to