3 <title>The source code</title>
\r
4 <link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />
\r
5 <script type="text/javascript" src="../resources/prettify/prettify.js"></script>
\r
7 <body onload="prettyPrint();">
\r
8 <pre class="prettyprint lang-js">/*
9 * CenterLayout demo panel
15 title: 'Centered Panel: 75% of container width and fit height',
19 bodyStyle: 'padding:20px 0;',
21 title: 'Inner Centered Panel',
22 html: 'Fixed 300px wide and auto height. The container panel will also autoscroll if narrower than 300px.',
26 bodyStyle: 'padding:10px 20px;'
32 * RowLayout demo panel
36 bodyStyle: 'padding:5px',
40 title: 'Height = 25%, Width = 50%',
44 title: 'Height = 100px, Width = 300px',
48 title: 'Height = 75%, Width = fit',