Revision: 1887
http://svn.sourceforge.net/vexi/?rev=1887&view=rev
Author: clrg
Date: 2007-06-28 07:44:53 -0700 (Thu, 28 Jun 2007)
Log Message:
-----------
Port basic tab to Vexi3
Modified Paths:
--------------
widgets/trunk/org.vexi.demo/org/vexi/demo/basic.t
Modified: widgets/trunk/org.vexi.demo/org/vexi/demo/basic.t
===================================================================
--- widgets/trunk/org.vexi.demo/org/vexi/demo/basic.t 2007-06-27 18:40:47 UTC
(rev 1886)
+++ widgets/trunk/org.vexi.demo/org/vexi/demo/basic.t 2007-06-28 14:44:53 UTC
(rev 1887)
@@ -1,25 +1,29 @@
<!-- Copyright 2006 - see COPYING for details [LGPL] -->
<vexi xmlns:ui="vexi://ui" xmlns="vexi.widget">
- <pad cols="1" padding="10">
- <ui:box shrink="true">
- <ui:box id="radios" cols="1" shrink="true">
+ <pad orient="vertical" padding="10" fill="white">
+ <ui:box vshrink="true">
+ <ui:box />
+ <ui:box id="radios" orient="vertical" shrink="true">
<radio id="r1" margin="10 5 0 5" text="white bg" align="left"/>
<radio id="r2" margin="10 5 0 5" text="red bg" align="left"/>
<radio id="r3" margin="10 5 0 5" text="green bg" align="left"/>
<radio id="r4" margin="10 5 0 5" text="blue bg" align="left"/>
</ui:box>
- <ui:box id="checks" cols="1" shrink="true">
+ <ui:box id="checks" orient="vertical" shrink="true">
<check id="c1" margin="10 5 0 5" text="disable white button"
align="left"/>
<check id="c2" margin="10 5 0 5" text="disable red button"
align="left"/>
<check id="c3" margin="10 5 0 5" text="disable green button"
align="left"/>
<check id="c4" margin="10 5 0 5" text="disable blue button"
align="left"/>
</ui:box>
+ <ui:box />
</ui:box>
- <ui:box id="buttons" shrink="true">
+ <ui:box id="buttons" vshrink="true">
+ <ui:box />
<button id="b1" margin="10 5 0 5" text="cycle" shrink="false"/>
<button id="b2" margin="10 5 0 5" text="random" shrink="false"/>
<button id="b3" margin="10 5 0 5" text="reset" shrink="false"/>
+ <ui:box />
</ui:box>
<bevel id="bg" form="down" margin="10" />
@@ -65,6 +69,6 @@
$r2.selected ++= function(v) { if (v and $bg.fill != "#ff0000")
$bg.fill = "red"; }
$r3.selected ++= function(v) { if (v and $bg.fill != "#008000")
$bg.fill = "green"; }
$r4.selected ++= function(v) { if (v and $bg.fill != "#0000ff")
$bg.fill = "blue"; }
-
+
</pad>
</vexi>
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