| 1 | <!DOCTYPE html> |
| 2 | <html> |
| 3 | <head> |
| 4 | <meta http-equiv="Content-type" content="text/html; charset=utf-8"/> |
| 5 | <meta name="viewport" |
| 6 | content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no"/> |
| 7 | <meta name="apple-mobile-web-app-capable" content="yes"/> |
| 8 | <title>GridLayout</title> |
| 9 | |
| 10 | <script type="text/javascript" src="../../deviceTheme.js" |
| 11 | data-dojo-config="'dojo-bidi': true, mblThemeFiles: ['base','Button','GridLayout']"></script> |
| 12 | <script type="text/javascript" src="../../../../dojo/dojo.js" |
| 13 | data-dojo-config="async: true, parseOnLoad: true,has: {'dojo-bidi': true}"></script> |
| 14 | |
| 15 | <script type="text/javascript"> |
| 16 | require([ |
| 17 | "dojo/parser", |
| 18 | "dojox/mobile", |
| 19 | "dojox/mobile/compat", |
| 20 | "dojox/mobile/ScrollableView", |
| 21 | "dojox/mobile/GridLayout", |
| 22 | "dojox/mobile/Pane", |
| 23 | "dojox/mobile/Button" |
| 24 | ]); |
| 25 | </script> |
| 26 | <style> |
| 27 | .mblButton { |
| 28 | width: 100%; |
| 29 | height: 100%; |
| 30 | } |
| 31 | </style> |
| 32 | </head> |
| 33 | <body style="visibility:hidden;"> |
| 34 | <div id="view1" data-dojo-type="dojox.mobile.ScrollableView"> |
| 35 | <div dir="rtl" data-dojo-type="dojox.mobile.GridLayout" data-dojo-props='cols:3' style="height: 200px;"> |
| 36 | <div data-dojo-type="dojox.mobile.Pane"> |
| 37 | <button class="mblBlueButton" data-dojo-type="dojox.mobile.Button">Button 1</button> |
| 38 | </div> |
| 39 | <div data-dojo-type="dojox.mobile.Pane"> |
| 40 | <button class="mblBlueButton" data-dojo-type="dojox.mobile.Button">Button 2</button> |
| 41 | </div> |
| 42 | <div data-dojo-type="dojox.mobile.Pane"> |
| 43 | <button class="mblBlueButton" data-dojo-type="dojox.mobile.Button">Button 3</button> |
| 44 | </div> |
| 45 | <div data-dojo-type="dojox.mobile.Pane"> |
| 46 | <button class="mblBlueButton" data-dojo-type="dojox.mobile.Button">Button 4</button> |
| 47 | </div> |
| 48 | <div data-dojo-type="dojox.mobile.Pane"> |
| 49 | <button class="mblBlueButton" data-dojo-type="dojox.mobile.Button">Button 5</button> |
| 50 | </div> |
| 51 | <div data-dojo-type="dojox.mobile.Pane"> |
| 52 | <button class="mblBlueButton" data-dojo-type="dojox.mobile.Button">Button 6</button> |
| 53 | </div> |
| 54 | </div> |
| 55 | </div> |
| 56 | </body> |
| 57 | </html> |
| 58 |