ExtJs布局之Column

<!DOCTYPE html>
<html>
<head>
    <title>ExtJs</title>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <link rel="stylesheet" type="text/css" href="ExtJs/packages/ext-theme-crisp/build/resources/ext-theme-crisp-all.css">
		<script type="text/javascript" src="ExtJs/ext-all.js"></script>
		<script type="text/javascript" src="ExtJs/bootstrap.js"></script>
		<script type="text/javascript" src="ExtJs/packages/ext-theme-crisp/build/ext-theme-crisp.js"></script>

    <script type="text/javascript">
			Ext.onReady(function() {
				Ext.create('Ext.panel.Panel',{
					title: 'Ext.layout.container.Column',
					frame: true,
					height: 150,
					width: 500,
					renderTo: Ext.getBody(),
					layout: 'column',
					defaults: {
						bodyStyle: 'background-color: #FEFEFE;',
						height: 100,
						frame: true
					},
					items: [{
						title: 'subPanel1',
						width: 200
					},{
						title: 'subPanel2',
						width: 200
					}]
				});
			});
    </script>
</head>
<body>
    <div id='form'></div>
		<div id='form1'></div>

</body>
</html>

  ExtJs布局之Column

上一篇:laravel创建定时任务


下一篇:C++ const用法小结 (欢迎大家拍砖)