diff options
Diffstat (limited to 'swat/apps/qooxdoo-examples/test/Label_2.html')
-rw-r--r-- | swat/apps/qooxdoo-examples/test/Label_2.html | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/swat/apps/qooxdoo-examples/test/Label_2.html b/swat/apps/qooxdoo-examples/test/Label_2.html new file mode 100644 index 0000000000..3b5660369a --- /dev/null +++ b/swat/apps/qooxdoo-examples/test/Label_2.html @@ -0,0 +1,40 @@ +<html> +<head> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + <title>qooxdoo » Demo</title> + <link type="text/css" rel="stylesheet" href="../../resource/css/layout.css"/> + <!--[if IE]> + <link type="text/css" rel="stylesheet" href="../../resource/css/layout_ie.css"/> + <![endif]--> + <script type="text/javascript" src="../../script/qx.js"></script> +</head> +<body> + <script type="text/javascript" src="../../script/layout.js"></script> + + <div id="demoDescription"> + qx.ui.basic.Label Stress Test + </div> + + <script type="text/javascript"> + qx.core.Init.getInstance().defineMain(function() + { + var d = qx.ui.core.ClientDocument.getInstance(); + + var c; + + for (var i=0; i<10; i++) + { + for (var j=0; j<20; j++) + { + c = new qx.ui.basic.Label("Test " + i + "|" + j); + + c.setLeft(20+(i*60)); + c.setTop(48+(j*30)); + + d.add(c); + }; + }; + }); + </script> +</body> +</html>
\ No newline at end of file |