Revision: 4830
          http://sourceforge.net/p/vexi/code/4830
Author:   clrg
Date:     2015-11-16 17:14:30 +0000 (Mon, 16 Nov 2015)
Log Message:
-----------
When changing scrollvertical/scrollhorizontal from false->true, need to remove 
the size contraints that had been imposed

Modified Paths:
--------------
    
branches/vexi3/org.vexi-vexi.widgets/src_main/org/vexi/lib/widget/scrollpane.t

Modified: 
branches/vexi3/org.vexi-vexi.widgets/src_main/org/vexi/lib/widget/scrollpane.t
===================================================================
--- 
branches/vexi3/org.vexi-vexi.widgets/src_main/org/vexi/lib/widget/scrollpane.t  
    2015-11-13 04:37:29 UTC (rev 4829)
+++ 
branches/vexi3/org.vexi-vexi.widgets/src_main/org/vexi/lib/widget/scrollpane.t  
    2015-11-16 17:14:30 UTC (rev 4830)
@@ -69,6 +69,8 @@
                     }
                 } else {
                     th_viewport[0].contentwidth --= constrainPaneH;
+                    th_viewport.maxwidth = vexi.ui.maxdim;
+                    th_viewport.minwidth = 0;
                 }
                 cascade = s;
             }
@@ -107,6 +109,8 @@
                     }
                 } else {
                     th_viewport[0].contentheight --= constrainPaneV;
+                    th_viewport.maxheight = vexi.ui.maxdim;
+                    th_viewport.minheight = 0;
                 }
                 cascade = s;
             }

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


------------------------------------------------------------------------------
Presto, an open source distributed SQL query engine for big data, initially
developed by Facebook, enables you to easily query your data on Hadoop in a 
more interactive manner. Teradata is also now providing full enterprise
support for Presto. Download a free open source copy now.
http://pubads.g.doubleclick.net/gampad/clk?id=250295911&iu=/4140
_______________________________________________
Vexi-svn mailing list
Vexi-svn@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vexi-svn

Reply via email to