added some tests
[org.ibex.core.git] / tests / better.t
diff --git a/tests/better.t b/tests/better.t
new file mode 100644 (file)
index 0000000..2ce0f5e
--- /dev/null
@@ -0,0 +1,17 @@
+<ibex>
+    <ui:box maxwidth="500" maxheight="300" cols="3">
+        ibex.ui.frame = thisbox;
+        <ui:box fill="black" colspan="2" minwidth="200" minheight="100"/>
+        <ui:box fill="green" rowspan="2" minwidth="100" id="foo"/>
+        <ui:box fill="red" minwidth="50" minheight="100" />
+        <ui:box fill="blue" cols="5">
+            <ui:box height="10" colspan="5"/>
+            <ui:box width="10"/>
+            <ui:box height="10" fill="white" maxwidth="100"/>
+            <ui:box height="10" fill="black" colspan="2" minwidth="100"/>
+            <ui:box width="10"/>
+        </ui:box>
+        <ui:box fill="purple" minwidth="70" minheight="50"/>
+        <ui:box fill="yellow" colspan="2"/>
+    </ui:box>
+</ibex>