Revision: 2019
http://vexi.svn.sourceforge.net/vexi/?rev=2019&view=rev
Author: clrg
Date: 2007-08-06 10:21:44 -0700 (Mon, 06 Aug 2007)
Log Message:
-----------
Syntax changes and fix cascade warnings in win2k.table
Modified Paths:
--------------
widgets/trunk/org.vexi.widgets/src/org/vexi/theme/win2k/table.t
Modified: widgets/trunk/org.vexi.widgets/src/org/vexi/theme/win2k/table.t
===================================================================
--- widgets/trunk/org.vexi.widgets/src/org/vexi/theme/win2k/table.t
2007-08-06 17:17:53 UTC (rev 2018)
+++ widgets/trunk/org.vexi.widgets/src/org/vexi/theme/win2k/table.t
2007-08-06 17:21:44 UTC (rev 2019)
@@ -13,7 +13,7 @@
<ui:box vshrink="true">
<ui:box id="headport" height="0" layout="place">
<ui:box id="headview" align="topleft" vshrink="true" />
- $headview.height ++= function(v) { height = v; }
+ $headview.height ++= function(v) { height = v; cascade = v; }
</ui:box>
<ui:box id="topinset" shrink="true" />
</ui:box>
@@ -29,7 +29,7 @@
<ui:box vshrink="true">
<ui:box id="footport" height="0" layout="place">
<ui:box id="footview" align="topleft" vshrink="true" />
- $footview.height ++= function(v) { height = v; }
+ $footview.height ++= function(v) { height = v; cascade = v; }
</ui:box>
<ui:box id="middleinset" shrink="true" />
</ui:box>
@@ -51,16 +51,25 @@
thisbox.th_hscroll = $hscroll;
thisbox.th_vscroll = $vscroll;
- if(lazy){
- $bodyport.height ++= function(h){
+ if (lazy)
+ {
+ $bodyport.height ++= function(h)
+ {
+ cascade = v;
th_bodyport.height = h;
}
- $bodyport.width ++= function(w){
+
+ $bodyport.width ++= function(w)
+ {
+ cascade = v;
th_bodyport.width = w;
th_bodyview.width = w; // do we need this?
}
+
init();
- }else{
+ }
+ else
+ {
thisbox.th_bodyport = $bodyport;
thisbox.th_bodyview = $bodyview;
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Vexi-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/vexi-svn