Revision: 1900
http://svn.sourceforge.net/vexi/?rev=1900&view=rev
Author: clrg
Date: 2007-07-01 17:23:44 -0700 (Sun, 01 Jul 2007)
Log Message:
-----------
Remove almost all references to packed, cols, and rows leaving only cases where
replacement is not trivial
Modified Paths:
--------------
widgets/trunk/org.vexi.demo/org/vexi/demo/align.t
widgets/trunk/org.vexi.demo/org/vexi/demo/border.t
widgets/trunk/org.vexi.demo/org/vexi/demo/browser.t
widgets/trunk/org.vexi.demo/org/vexi/demo/colorpicker.t
widgets/trunk/org.vexi.demo/org/vexi/demo/dynamictable.t
widgets/trunk/org.vexi.demo/org/vexi/demo/grids.t
widgets/trunk/org.vexi.demo/org/vexi/demo/lists.t
widgets/trunk/org.vexi.demo/org/vexi/demo/other.t
widgets/trunk/org.vexi.demo/org/vexi/demo/prefs.t
widgets/trunk/org.vexi.demo/org/vexi/demo/scrollpane.t
widgets/trunk/org.vexi.demo/org/vexi/demo/soap.t
widgets/trunk/org.vexi.demo/org/vexi/demo/splitpane.t
widgets/trunk/org.vexi.demo/org/vexi/demo/surface.t
widgets/trunk/org.vexi.demo/org/vexi/demo/table.t
widgets/trunk/org.vexi.demo/org/vexi/demo/text.t
widgets/trunk/org.vexi.demo/org/vexi/demo/xmlrpc.t
Modified: widgets/trunk/org.vexi.demo/org/vexi/demo/align.t
===================================================================
--- widgets/trunk/org.vexi.demo/org/vexi/demo/align.t 2007-07-02 00:23:17 UTC
(rev 1899)
+++ widgets/trunk/org.vexi.demo/org/vexi/demo/align.t 2007-07-02 00:23:44 UTC
(rev 1900)
@@ -1,23 +1,25 @@
<!-- Copyright 2006 - see COPYING for details [LGPL] -->
<vexi xmlns:ui="vexi://ui" xmlns="vexi.widget">
- <ui:box cols="1">
+ <ui:box orient="vertical">
<pad padding="5" shrink="true" text="Alignment Layout Demonstration" />
<pad padding="2" shrink="true" text="# is the child order, the word
indicates the alignment" />
- <bevel id="bev" form="down" margin="10">
- <ui:box id="l" text="1 left" align="left" packed="false"
fill="#ffffff" shrink="true" />
- <ui:box id="r" text="2 right" align="right" packed="false"
fill="#ffe0e0" shrink="true" />
- <ui:box id="t" text="3 top" align="top" packed="false"
fill="#ffd0d0" shrink="true" />
- <ui:box id="b" text="4 bottom" align="bottom" packed="false"
fill="#ffc0c0" shrink="true" />
- <ui:box id="c" text="5 center" align="center" packed="false"
fill="#ffb0b0" shrink="true" />
- <ui:box id="tl" text="6 topleft" align="topleft" packed="false"
fill="#ffa0a0" shrink="true" />
- <ui:box id="bl" text="7 bottomleft" align="bottomleft"
packed="false" fill="#ff9090" shrink="true" />
- <ui:box id="tr" text="8 topright" align="topright" packed="false"
fill="#ff8080" shrink="true" />
- <ui:box id="br" text="9 bottomright" align="bottomright"
packed="false" fill="#ff7070" shrink="true" />
- </bevel>
-
- <ui:box id="packed" vshrink="true" display="false" >
+ <pad padding="10">
+ <bevel id="bev" form="down" layout="absolute">
+ <ui:box id="l" text="1 left" align="left" fill="#ffffff"
shrink="true" />
+ <ui:box id="r" text="2 right" align="right" fill="#ffe0e0"
shrink="true" />
+ <ui:box id="t" text="3 top" align="top" fill="#ffd0d0"
shrink="true" />
+ <ui:box id="b" text="4 bottom" align="bottom" fill="#ffc0c0"
shrink="true" />
+ <ui:box id="c" text="5 center" align="center" fill="#ffb0b0"
shrink="true" />
+ <ui:box id="tl" text="6 topleft" align="topleft"
fill="#ffa0a0" shrink="true" />
+ <ui:box id="bl" text="7 bottomleft" align="bottomleft"
fill="#ff9090" shrink="true" />
+ <ui:box id="tr" text="8 topright" align="topright"
fill="#ff8080" shrink="true" />
+ <ui:box id="br" text="9 bottomright" align="bottomright"
fill="#ff7070" shrink="true" />
+ </bevel>
+ </pad>
+
+ <ui:box id="p_acked" vshrink="true" display="false" >
<radio id="rows" text="Row flow (rows=0)" align="left"
selected="true" />
<radio id="columns" text="Column flow (cols=0)" align="left"/>
@@ -27,11 +29,13 @@
</ui:box>
</ui:box>
- <ui:box cols="4" vshrink="true">
- <check id="packBoxes" text="Use packed boxes" selected="false"
align="left" />
+ <!--ui:box orient="vertical" vshrink="true">
+ <ui:box>
+ <check id="packBoxes" text="Use p_acked boxes" selected="false"
align="left" />
<ui:box /> // spacer
- <ui:box text="packed = " shrink="true" align="right" />
- <ui:box id="packed_label" text="false" shrink="true" align="left"
/>
+ <ui:box text="p_acked = " shrink="true" align="right" />
+ <ui:box id="p_acked_label" text="false" shrink="true" align="left"
/>
+ </ui:box>
<check id="hshrinkBoxes" text="Horizontally shrink boxes"
selected="true" align="left" />
<ui:box /> // spacer
@@ -44,20 +48,6 @@
<ui:box id="vshrink_label" text="true" shrink="true" align="left"
/>
</ui:box>
- $packBoxes.selected ++= function(v) {
- $l.packed = v;
- $r.packed = v;
- $t.packed = v;
- $b.packed = v;
- $c.packed = v;
- $tl.packed = v;
- $bl.packed = v;
- $tr.packed = v;
- $br.packed = v;
- $packed.display = v;
- $packed_label.text = v;
- }
-
$hshrinkBoxes.selected ++= function(v)
{
$l.hshrink = v;
@@ -84,36 +74,7 @@
$tr.vshrink = v;
$br.vshrink = v;
$vshrink_label.text = v;
- }
+ }-->
- // create a group out of rows & column radio buttons
- $rows.group = $columns.group;
-
- $rows.selected ++= function(v)
- {
- $bev.rows = "0";
- $spinLabel.text = "# Columns";
- $bev.cols = $spin.value;
- }
-
- $columns.selected ++= function(v)
- {
- $bev.cols = "0";
- $spinLabel.text = "# Rows";
- $bev.rows = $spin.value;
- }
-
- $spin.value ++= function(v)
- {
- if ($rows.selected)
- {
- $bev.cols = $spin.value;
- }
- else
- {
- $bev.rows = $spin.value;
- }
- }
-
</ui:box>
</vexi>
Modified: widgets/trunk/org.vexi.demo/org/vexi/demo/border.t
===================================================================
--- widgets/trunk/org.vexi.demo/org/vexi/demo/border.t 2007-07-02 00:23:17 UTC
(rev 1899)
+++ widgets/trunk/org.vexi.demo/org/vexi/demo/border.t 2007-07-02 00:23:44 UTC
(rev 1900)
@@ -1,9 +1,9 @@
<!-- Copyright 2006 - see COPYING for details [LGPL] -->
<vexi xmlns:ui="vexi://ui" xmlns:wi="vexi.widget" xmlns="org.vexi.demo"
xmlns:th="org.vexi.theme.win2k">
- <ui:box cols="1">
+ <ui:box orient="vertical">
<wi:pad padding="10">
- <ui:box cols="1">
+ <ui:box orient="vertical">
<ui:box text="Choose a bevel type" align="left" shrink="true"/>
<wi:option id="beveltype">
<wi:item value="" text="" />
@@ -36,7 +36,7 @@
}
</wi:pad>
- <wi:pad cols="1" padding="10">
+ <wi:pad orient="vertical" padding="10">
<ui:box text="Custom fill/borders" align="left" shrink="true"/>
<ui:box>
<ui:box fill=".image.slant">
Modified: widgets/trunk/org.vexi.demo/org/vexi/demo/browser.t
===================================================================
--- widgets/trunk/org.vexi.demo/org/vexi/demo/browser.t 2007-07-02 00:23:17 UTC
(rev 1899)
+++ widgets/trunk/org.vexi.demo/org/vexi/demo/browser.t 2007-07-02 00:23:44 UTC
(rev 1900)
@@ -1,7 +1,7 @@
<!-- Copyright 2006 - see COPYING for details [LGPL] -->
<vexi xmlns:ui="vexi://ui" xmlns="vexi.widget">
- <ui:box cols="1">
+ <ui:box orient="vertical">
<ui:box text="Enter a URL:" align="left" shrink="true"/>
<textfield id="url" vshrink="true" />
<ui:box height="40"/>
Modified: widgets/trunk/org.vexi.demo/org/vexi/demo/colorpicker.t
===================================================================
--- widgets/trunk/org.vexi.demo/org/vexi/demo/colorpicker.t 2007-07-02
00:23:17 UTC (rev 1899)
+++ widgets/trunk/org.vexi.demo/org/vexi/demo/colorpicker.t 2007-07-02
00:23:44 UTC (rev 1900)
@@ -205,19 +205,15 @@
$gradient.dad = thisbox;
- <ui:box cols="1" shrink="true">
+ <ui:box orient="vertical" shrink="true">
<ui:box>
<ui:box fill=".image.colorpicker" id="colorpicker"
shrink="true">
- vexi.thread = function() {
- $circle.x = width / 2 - $circle.width / 2;
- $circle.y = height / 2 - $circle.width / 2;
- }
- <ui:box fill=".image.colorpicker_circle" packed="false"
id="circle" shrink="true"/>
+ <ui:box fill=".image.colorpicker_circle" id="circle"
shrink="true"/>
</ui:box>
<ui:box width="5"/>
- <wi:bevel thickness="2" form="down" cols="1" width="34"
shrink="true" id="grad_back">
+ <wi:bevel thickness="2" form="down" orient="vertical"
width="34" shrink="true" id="grad_back">
<ui:box shrink="true" fill=".image.gradient" id="gradient">
marker = $marker;
@@ -239,7 +235,7 @@
surface.Move = true;
}
- <ui:box width="30" height="2" packed="false"
align="bottom" x="0" y="0" id="marker" cols="1">
+ <ui:box width="30" height="2" align="bottom" x="0"
y="0" id="marker" orient="vertical">
<ui:box fill="white" height="1"/>
<ui:box fill="black" height="1"/>
thisbox.y=10;
@@ -273,7 +269,7 @@
<ui:box width="10"/>
- <ui:box cols="1" shrink="true">
+ <ui:box orient="vertical" shrink="true">
<wi:pad rows="1" padding="5">
<ui:box align="left" width="55" vshrink="true" text="Hue:"/>
<wi:slider min="0" max="1" interval="0.001" width="100"
id="Hue" margin-left="5" margin-right="5"/>
Modified: widgets/trunk/org.vexi.demo/org/vexi/demo/dynamictable.t
===================================================================
--- widgets/trunk/org.vexi.demo/org/vexi/demo/dynamictable.t 2007-07-02
00:23:17 UTC (rev 1899)
+++ widgets/trunk/org.vexi.demo/org/vexi/demo/dynamictable.t 2007-07-02
00:23:44 UTC (rev 1900)
@@ -2,7 +2,7 @@
<vexi xmlns="vexi.widget" xmlns:ui="vexi://ui">
- <ui:box cols="1">
+ <ui:box orient="vertical">
<pad padding="10" text="A table populated dynamically with data"
vshrink="true" />
Modified: widgets/trunk/org.vexi.demo/org/vexi/demo/grids.t
===================================================================
--- widgets/trunk/org.vexi.demo/org/vexi/demo/grids.t 2007-07-02 00:23:17 UTC
(rev 1899)
+++ widgets/trunk/org.vexi.demo/org/vexi/demo/grids.t 2007-07-02 00:23:44 UTC
(rev 1900)
@@ -1,8 +1,11 @@
<!-- Copyright 2006 - see COPYING for details [LGPL] -->
<vexi xmlns:ui="vexi://ui" xmlns="vexi.widget">
- <ui:box cols="1">
- <bevel id="bvl" cols="6" form="down" margin="10">
+ <ui:box orient="vertical">
+
+ <ui:box text="Coming soon..." />
+
+ <!--bevel id="bvl" cols="6" form="down" margin="10">
<ui:box colspan="2" />
<ui:box rowspan="2" />
<ui:box />
@@ -30,7 +33,7 @@
}
$bvl[i].fill = color;
$bvl[i].text = $bvl.indexof($bvl[i]) + ": " + $bvl[i].colspan +
"x" + $bvl[i].rowspan;
- }
+ }-->
</ui:box>
</vexi>
Modified: widgets/trunk/org.vexi.demo/org/vexi/demo/lists.t
===================================================================
--- widgets/trunk/org.vexi.demo/org/vexi/demo/lists.t 2007-07-02 00:23:17 UTC
(rev 1899)
+++ widgets/trunk/org.vexi.demo/org/vexi/demo/lists.t 2007-07-02 00:23:44 UTC
(rev 1900)
@@ -1,7 +1,7 @@
<!-- Copyright 2006 - see COPYING for details [LGPL] -->
<vexi xmlns:ui="vexi://ui" xmlns="vexi.widget">
- <pad cols="3" padding="10">
+ <pad padding="10">
thisbox.th_list = $list;
<scrollpane id="pane" autohidehorizontal="true"
autohidevertical="true">
@@ -45,7 +45,7 @@
<ui:box width="20" />
- <ui:box cols="1" padding="40" margin="5">
+ <ui:box orient="vertical" padding="40" margin="5">
<ui:box text="Selected text:" align="left" vshrink="true"/>
<ui:box id="seltext" text=" " vshrink="true"/>
<ui:box height="30"/>
Modified: widgets/trunk/org.vexi.demo/org/vexi/demo/other.t
===================================================================
--- widgets/trunk/org.vexi.demo/org/vexi/demo/other.t 2007-07-02 00:23:17 UTC
(rev 1899)
+++ widgets/trunk/org.vexi.demo/org/vexi/demo/other.t 2007-07-02 00:23:44 UTC
(rev 1900)
@@ -1,7 +1,7 @@
<!-- Copyleft 2004 The Vexi Project [LGPL] -->
<vexi xmlns:ui="vexi://ui" xmlns="vexi.widget" xmlns:demo="org.vexi.demo"
xmlns:role="org.vexi.lib.role">
- <pad cols="1" padding="3">
+ <pad orient="vertical" padding="3">
<ui:box>
<textarea id="text" text="Enter new tooltip here" />
<ui:box>
Modified: widgets/trunk/org.vexi.demo/org/vexi/demo/prefs.t
===================================================================
--- widgets/trunk/org.vexi.demo/org/vexi/demo/prefs.t 2007-07-02 00:23:17 UTC
(rev 1899)
+++ widgets/trunk/org.vexi.demo/org/vexi/demo/prefs.t 2007-07-02 00:23:44 UTC
(rev 1900)
@@ -1,76 +1,84 @@
<!-- Copyright 2006 - see COPYING for details [LGPL] -->
<vexi xmlns:ui="vexi://ui" xmlns="vexi.widget" xmlns:demo="org.vexi.demo">
- <pad cols="1" padding="10">
- <ui:box cols="2">
- <ui:box text="Preferences (override Persistent prefs)"
align="bottomleft" shrink="true"/>
- <ui:box text="Persistent Preferences" align="bottomleft"
shrink="true"/>
- <scrollpane fill="white" autohidehorizontal="true"
autohidevertical="true">
- <list id="prefs" align="topleft" vshrink="true" fill="white"/>
- </scrollpane>
- <scrollpane fill="white" autohidehorizontal="true"
autohidevertical="true">
- <list id="persistprefs" align="topleft" vshrink="true"
fill="white"/>
- </scrollpane>
- </ui:box>
+ <pad orient="vertical" padding="10">
+ <ui:box>
+ <ui:box>
+ <ui:box text="Preferences (override Persistent prefs)"
align="bottomleft" shrink="true"/>
+ <ui:box text="Persistent Preferences" align="bottomleft"
shrink="true"/>
+ </ui:box>
+ <ui:box>
+ <scrollpane fill="white" autohidehorizontal="true"
autohidevertical="true">
+ <list id="prefs" align="topleft" vshrink="true" fill="white"/>
+ </scrollpane>
+ <scrollpane fill="white" autohidehorizontal="true"
autohidevertical="true">
+ <list id="persistprefs" align="topleft" vshrink="true"
fill="white"/>
+ </scrollpane>
+ </ui:box>
+ </ui:box>
- <ui:box height="20"/>
-
- <ui:box cols="2">
- <ui:box text="name" align="bottomleft" shrink="true"/>
- <ui:box text="value" align="bottomleft" shrink="true"/>
- <textfield id="paramname" vshrink="true"/>
- <textfield id="paramvalue" vshrink="true"/>
- </ui:box>
- <button text="Set Preference" id="set"/>
+ <ui:box height="20"/>
- thisbox.loadParams = function()
- {
- var parms = vexi.prefs.getAllPreferences();
- fillList($prefs, parms);
- var parms = vexi.prefs.getPersistentPreferences();
- fillList($persistprefs, parms);
- }
+ <ui:box orient="vertical">
+ <ui:box>
+ <ui:box text="name" align="bottomleft" shrink="true"/>
+ <textfield id="paramname" vshrink="true"/>
+ </ui:box>
+ <ui:box>
+ <ui:box text="value" align="bottomleft" shrink="true"/>
+ <textfield id="paramvalue" vshrink="true"/>
+ </ui:box>
+ </ui:box>
+ <button text="Set Preference" id="set"/>
- thisbox.fillList = function(listbox, valueObj)
- {
- while (listbox.numchildren > 0)
- listbox[0]=null;
+ thisbox.loadParams = function()
+ {
+ var parms = vexi.prefs.getAllPreferences();
+ fillList($prefs, parms);
+ var parms = vexi.prefs.getPersistentPreferences();
+ fillList($persistprefs, parms);
+ }
+
+ thisbox.fillList = function(listbox, valueObj)
+ {
+ while (listbox.numchildren > 0)
+ listbox[0]=null;
- var keys = [];
- for (var i in valueObj)
- keys[keys.length] = i;
+ var keys = [];
+ for (var i in valueObj)
+ keys[keys.length] = i;
- keys.sort();
- for (var i=0; keys.length > i; i++)
- {
- newbox = .item(vexi.box);
- newbox.text = keys[i] + " = " + valueObj[keys[i]];
- newbox.value = keys[i];
- listbox[listbox.numchildren] = newbox;
- }
- }
+ keys.sort();
+ for (var i=0; keys.length > i; i++)
+ {
+ newbox = .item(vexi.box);
+ newbox.text = keys[i] + " = " + valueObj[keys[i]];
+ newbox.value = keys[i];
+ listbox[listbox.numchildren] = newbox;
+ }
+ }
- loadParams();
+ loadParams();
- $set.action ++= function(v)
- {
- var n = $paramname.text;
- var v = $paramvalue.text;
- if (n.length > 0)
- {
- vexi.prefs.setPreference(n, v);
- loadParams();
- }
- }
+ $set.action ++= function(v)
+ {
+ var n = $paramname.text;
+ var v = $paramvalue.text;
+ if (n.length > 0)
+ {
+ vexi.prefs.setPreference(n, v);
+ loadParams();
+ }
+ }
- $prefs.value ++= function(v)
- {
- if (v != null)
- {
- $paramname.text = v;
- $paramvalue.text = vexi.prefs.getPreference(v);
- }
- }
-
+ $prefs.value ++= function(v)
+ {
+ if (v != null)
+ {
+ $paramname.text = v;
+ $paramvalue.text = vexi.prefs.getPreference(v);
+ }
+ }
+
</pad>
</vexi>
Modified: widgets/trunk/org.vexi.demo/org/vexi/demo/scrollpane.t
===================================================================
--- widgets/trunk/org.vexi.demo/org/vexi/demo/scrollpane.t 2007-07-02
00:23:17 UTC (rev 1899)
+++ widgets/trunk/org.vexi.demo/org/vexi/demo/scrollpane.t 2007-07-02
00:23:44 UTC (rev 1900)
@@ -2,7 +2,7 @@
<vexi xmlns:ui="vexi://ui" xmlns="vexi.widget" xmlns:demo="org.vexi.demo">
<pad padding="3">
- <ui:box cols="1">
+ <ui:box orient="vertical">
<ui:box shrink="true" text="Scrollpane" />
<ui:box height="5" />
<bevel form="down">
@@ -14,11 +14,11 @@
<separator orient="vertical" margin="3 8" />
- <ui:box cols="1">
+ <ui:box orient="vertical">
<ui:box height="3" />
<ui:box text="Scrollbar Properties" shrink="true" />
<ui:box height="5" />
- <ui:box cols="1" vshrink="true">
+ <ui:box orient="vertical" vshrink="true">
<check id="scrollhorizontal" margin="3 10"
text="scrollhorizontal" align="left" selected="true" />
<check id="scrollvertical" margin="3 10" text="scrollvertical"
align="left" selected="true" />
<check id="autohidehorizontal" margin="3 10"
text="autohidehorizontal" align="left"/>
@@ -30,39 +30,51 @@
<ui:box text="Scrollbar Spacing Properties" />
<ui:box height="5" />
- <ui:box cols="2">
- <ui:box cols="2" >
- <ui:box align="right" text="margin" />
- <spin id="margin" margin="3 5" min="0" max="100"
interval="1" minwidth="45" />
-
- <ui:box align="right" text="left" />
- <spin id="marginLeft" margin="3 5" min="0" max="100"
interval="1" minwidth="45" />
-
- <ui:box align="right" text="right" />
- <spin id="marginRight" margin="3 5" min="0" max="100"
interval="1" minwidth="45" />
-
- <ui:box align="right" text="top" />
- <spin id="marginTop" margin="3 5" min="0" max="100"
interval="1" minwidth="45" />
-
- <ui:box align="right" text="bottom" />
- <spin id="marginBottom" margin="3 5" min="0" max="100"
interval="1" minwidth="45" />
+ <ui:box>
+ <ui:box orient="vertical" >
+ </ui:box>
+ <ui:box align="right" text="margin" />
+ <spin id="margin" margin="3 5" min="0" max="100"
interval="1" minwidth="45" />
+ </ui:box>
+ <ui:box>
+ <ui:box align="right" text="left" />
+ <spin id="marginLeft" margin="3 5" min="0" max="100"
interval="1" minwidth="45" />
+ </ui:box>
+ <ui:box>
+ <ui:box align="right" text="right" />
+ <spin id="marginRight" margin="3 5" min="0" max="100"
interval="1" minwidth="45" />
+ </ui:box>
+ <ui:box>
+ <ui:box align="right" text="top" />
+ <spin id="marginTop" margin="3 5" min="0" max="100"
interval="1" minwidth="45" />
+ </ui:box>
+ <ui:box>
+ <ui:box align="right" text="bottom" />
+ <spin id="marginBottom" margin="3 5" min="0" max="100"
interval="1" minwidth="45" />
+ </ui:box>
</ui:box>
- <ui:box cols="2" >
- <ui:box align="right" text="padding" />
- <spin id="padding" margin="3 5" min="0" max="100"
interval="1" minwidth="45" />
-
- <ui:box align="right" text="left" />
- <spin id="paddingLeft" margin="3 5" min="0" max="100"
interval="1" minwidth="45" />
-
- <ui:box align="right" text="right" />
- <spin id="paddingRight" margin="3 5" min="0" max="100"
interval="1" minwidth="45" />
-
- <ui:box align="right" text="top" />
- <spin id="paddingTop" margin="3 5" min="0" max="100"
interval="1" minwidth="45" />
-
- <ui:box align="right" text="bottom" />
- <spin id="paddingBottom" margin="3 5" min="0" max="100"
interval="1" minwidth="45" />
+ <ui:box orient="vertical">
+ <ui:box>
+ <ui:box align="right" text="padding" />
+ <spin id="padding" margin="3 5" min="0" max="100"
interval="1" minwidth="45" />
+ </ui:box>
+ <ui:box>
+ <ui:box align="right" text="left" />
+ <spin id="paddingLeft" margin="3 5" min="0" max="100"
interval="1" minwidth="45" />
+ </ui:box>
+ <ui:box>
+ <ui:box align="right" text="right" />
+ <spin id="paddingRight" margin="3 5" min="0" max="100"
interval="1" minwidth="45" />
+ </ui:box>
+ <ui:box>
+ <ui:box align="right" text="top" />
+ <spin id="paddingTop" margin="3 5" min="0" max="100"
interval="1" minwidth="45" />
+ </ui:box>
+ <ui:box>
+ <ui:box align="right" text="bottom" />
+ <spin id="paddingBottom" margin="3 5" min="0"
max="100" interval="1" minwidth="45" />
+ </ui:box>
</ui:box>
</ui:box>
Modified: widgets/trunk/org.vexi.demo/org/vexi/demo/soap.t
===================================================================
--- widgets/trunk/org.vexi.demo/org/vexi/demo/soap.t 2007-07-02 00:23:17 UTC
(rev 1899)
+++ widgets/trunk/org.vexi.demo/org/vexi/demo/soap.t 2007-07-02 00:23:44 UTC
(rev 1900)
@@ -1,8 +1,8 @@
<!-- Copyright 2006 - see COPYING for details [LGPL] -->
<vexi xmlns:ui="vexi://ui" xmlns="vexi.widget" xmlns:demo="org.vexi.demo">
- <pad cols="1" padding="10">
- <ui:box cols="2">
+ <pad orient="vertical" padding="10">
+ <ui:box>
<ui:box align="right" text="Zip Code" shrink="true" />
<textfield margin-left="5" id="zipcode"/>
</ui:box>
Modified: widgets/trunk/org.vexi.demo/org/vexi/demo/splitpane.t
===================================================================
--- widgets/trunk/org.vexi.demo/org/vexi/demo/splitpane.t 2007-07-02
00:23:17 UTC (rev 1899)
+++ widgets/trunk/org.vexi.demo/org/vexi/demo/splitpane.t 2007-07-02
00:23:44 UTC (rev 1900)
@@ -1,8 +1,8 @@
<!-- Copyright 2006 - see COPYING for details [LGPL] -->
<vexi xmlns:ui="vexi://ui" xmlns="vexi.widget">
- <ui:box cols="1">
- <scrollpane cols="1" autohide="true">
+ <ui:box orient="vertical">
+ <scrollpane orient="vertical" autohide="true">
<ui:box vshrink="true">
<ui:box text="Drag the Dividers" />
<check id="lr_switch" text="Enable liveresize" />
@@ -10,7 +10,7 @@
<splitpane id="sp_h" orient="horizontal" margin="8 6 6 6">
<bevel form="down" fill="white">
<ui:box id="inner1">
- <border border="black" depth="1" shrink="true"
minheight="0" minwidth="0" packed="false" />
+ <border border="black" depth="1" shrink="true"
minheight="0" minwidth="0" />
</ui:box>
</bevel>
<divider />
@@ -18,26 +18,26 @@
<ui:box id="widthhack" display="false" />
<bevel form="down" fill="white">
<ui:box id="inner2">
- <border border="black" depth="1" shrink="true"
minheight="0" minwidth="0" packed="false" />
+ <border border="black" depth="1" shrink="true"
minheight="0" minwidth="0" />
</ui:box>
</bevel>
<divider />
<bevel form="down" fill="white">
<ui:box id="inner3">
- <border border="black" depth="1" shrink="true"
minheight="0" minwidth="0" packed="false" />
+ <border border="black" depth="1" shrink="true"
minheight="0" minwidth="0" />
</ui:box>
</bevel>
<divider />
<bevel form="down" fill="white">
<ui:box id="inner4">
- <border border="black" depth="1" shrink="true"
minheight="0" minwidth="0" packed="false" />
+ <border border="black" depth="1" shrink="true"
minheight="0" minwidth="0" />
</ui:box>
</bevel>
</splitpane>
<divider />
<bevel form="down" fill="white">
<ui:box id="inner5">
- <border border="black" depth="1" shrink="true"
minheight="0" minwidth="0" packed="false" />
+ <border border="black" depth="1" shrink="true"
minheight="0" minwidth="0" />
</ui:box>
</bevel>
</splitpane>
Modified: widgets/trunk/org.vexi.demo/org/vexi/demo/surface.t
===================================================================
--- widgets/trunk/org.vexi.demo/org/vexi/demo/surface.t 2007-07-02 00:23:17 UTC
(rev 1899)
+++ widgets/trunk/org.vexi.demo/org/vexi/demo/surface.t 2007-07-02 00:23:44 UTC
(rev 1900)
@@ -1,11 +1,11 @@
<!-- Copyright 2006 - see COPYING for details [LGPL] -->
<vexi xmlns:ui="vexi://ui" xmlns:wi="vexi.widget" xmlns:demo="org.vexi.demo"
xmlns="org.vexi.theme.win2k.image">
- <wi:pad cols="2" padding="3">
- <ui:box cols="1">
+ <wi:pad padding="3">
+ <ui:box orient="vertical">
<ui:box text="Sample Property Manipulation" shrink="true" />
<ui:box height="5" />
- <ui:box cols="2" vshrink="true">
+ <ui:box orient="vertical""true">
<wi:button id="minimize" hshrink="false" text="Minimize"
tooltip="Minimize this window to the taskbar" />
<wi:button id="maximize" hshrink="false" text="Maximize"
@@ -32,27 +32,27 @@
<wi:separator margin="8 3" />
<ui:box>
- <wi:pad cols="1" padding="3">
+ <wi:pad orient="vertical" padding="3">
<ui:box text="Surface Events" shrink="true" />
<ui:box height="5" />
<ui:box vshrink="true">
<ui:box text="Event" align="left" />
<ui:box text="Occurances" align="right" shrink="true"
/>
</ui:box>
- <ui:box>
- <ui:box id="events" align="topleft" cols="1"
packed="false" vshrink="true" />
+ <ui:box layout="absolute">
+ <ui:box id="events" align="topleft"
layout="vorient="vertical""true" />
</ui:box>
</wi:pad>
<wi:separator orient="vertical" margin="3 8" />
- <wi:pad cols="1" padding="3">
+ <wi:pad orient="vertical" padding="3">
<ui:box text="Surface Properties" shrink="true" />
<ui:box height="5" />
<ui:box vshrink="true">
<ui:box text="Property" align="left" />
<ui:box text="Value" align="right" shrink="true" />
</ui:box>
- <ui:box>
- <ui:box id="properties" align="topleft" cols="1"
packed="false" vshrink="true">
+ <ui:box layout="absolute">
+ <ui:box id="properties" align="topleft"
orient="vertical" vshrink="true">
<demo:surfaceProperty name="x" value="0" />
<demo:surfaceProperty name="y" value="0" />
<demo:surfaceProperty name="width" value="0" />
Modified: widgets/trunk/org.vexi.demo/org/vexi/demo/table.t
===================================================================
--- widgets/trunk/org.vexi.demo/org/vexi/demo/table.t 2007-07-02 00:23:17 UTC
(rev 1899)
+++ widgets/trunk/org.vexi.demo/org/vexi/demo/table.t 2007-07-02 00:23:44 UTC
(rev 1900)
@@ -1,7 +1,7 @@
<!-- Copyright 2006 - see COPYING for details [LGPL] -->
<vexi xmlns="vexi.widget" xmlns:ui="vexi://ui">
- <ui:box cols="1">
+ <ui:box orient="vertical">
<pad padding="10" text="A basic manually populated table"
vshrink="true" />
<bevel form="down">
<table id="table">
Modified: widgets/trunk/org.vexi.demo/org/vexi/demo/text.t
===================================================================
--- widgets/trunk/org.vexi.demo/org/vexi/demo/text.t 2007-07-02 00:23:17 UTC
(rev 1899)
+++ widgets/trunk/org.vexi.demo/org/vexi/demo/text.t 2007-07-02 00:23:44 UTC
(rev 1900)
@@ -1,7 +1,7 @@
<!-- Copyright 2006 - see COPYING for details [LGPL] -->
<vexi xmlns:ui="vexi://ui" xmlns="vexi.widget">
- <pad cols="1" padding="3">
+ <pad orient="vertical" padding="3">
<ui:box align="bottom" shrink="true" text="Textfields" />
<ui:box height="5" />
<ui:box cols="3" vshrink="true">
@@ -23,7 +23,7 @@
</ui:box>
<separator margin="8 3" />
<ui:box>
- <ui:box cols="1">
+ <ui:box orient="vertical">
<ui:box vshrink="true">
<ui:box width="3" />
<ui:box text="Textarea:" align="left" />
@@ -33,7 +33,7 @@
<textarea id="textarea" text="This is an editable textarea in
which text will wrap and can contain linebreaks" />
</ui:box>
<separator orient="vertical" margin="3 8" />
- <ui:box cols="1">
+ <ui:box orient="vertical">
<ui:box vshrink="true">
<ui:box width="3" />
<ui:box text="Label:" align="left" />
Modified: widgets/trunk/org.vexi.demo/org/vexi/demo/xmlrpc.t
===================================================================
--- widgets/trunk/org.vexi.demo/org/vexi/demo/xmlrpc.t 2007-07-02 00:23:17 UTC
(rev 1899)
+++ widgets/trunk/org.vexi.demo/org/vexi/demo/xmlrpc.t 2007-07-02 00:23:44 UTC
(rev 1900)
@@ -1,7 +1,7 @@
<!-- Copyright 2006 - see COPYING for details [LGPL] -->
<vexi xmlns:ui="vexi://ui" xmlns="vexi.widget" xmlns:demo="org.vexi.demo">
- <pad cols="1" padding="10">
+ <pad orient="vertical" padding="10">
<ui:box>
<ui:box align="left" text="President Number: " shrink="true" />
<spin id="spin1" margin="5" min="1" max="100" interval="1"
maxwidth="60" shrink="true" value="1" />
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 DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Vexi-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/vexi-svn