更新记录:

2022年6月12日 检查发布。

2022年6月1日 开始。

1.说明

center布局将子项放置在容器的中心。

2.设置布局方法

在父容器中设置

layout: 'center',

//或者

layout: {
type: 'center'
}

3.适合场景

将子组件放置在容器中。

4.实例

4.1实例:中心布局



代码:

{
xtype: 'panel',
title: 'Center Layout Example',
layout: 'center',
renderTo: document.body,
width: 1000,
height: 1000,
items: [
{
draggable: true,
closable: true,
collapsible: true,
constrain: true,
minHeight: 100,
title: 'Centered Content Panel',
width: '75%', // 75% of the container width
html: 'Some content'
}
]
}

最新文章

  1. Docker学习总结
  2. Moto C118 基于 Osmocom-BB 和 OpenBTS 搭建小型GSM短信基站
  3. Codeforces Round #371 (Div. 2) - B
  4. 查看oracle数据库中的保留字
  5. 一步步教你为网站开发Android客户端---HttpWatch抓包,HttpClient模拟POST请求,Jsoup解析HTML代码,动态更新ListView
  6. OC三种方法实现定时器
  7. [Everyday Mathematics]20150211 Carlson inequality
  8. Linux2.6内核--内存管理(2)--区
  9. Windows 8 应用开发 - 挂起与恢复
  10. wuzhi 五指 数据库仿 thinkphp
  11. PowerShell 脚本中的密码
  12. Navicat Premium 12.1.11.0安装与激活
  13. python数据结构详解
  14. ubuntu16搭建harbor镜像库
  15. Nginx性能优化功能- Gzip压缩(大幅度提高页面加载速度)
  16. 详解使用DockerHub官方的mysql镜像生成容器
  17. ntp服务的细节全解析
  18. dgango 报错: Timeout when reading response headers from daemon process
  19. FPGA烧完程序之后,检测不到网口的
  20. for ...in 、for each ...in、 for...of(https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Reference/Statements/for...of)

热门文章

  1. 【Python打包成exe方法】——已解决导入第三方包无法打包的问题
  2. echarts饼图调整悬浮提示框的位置
  3. 背包问题dp的初步总结
  4. 2021.07.20 P3951 小凯的疑惑(最大公因数,未证)
  5. python基础练习题(题目 字母识词)
  6. HMS Core 6.4.0版本发布公告
  7. Ubuntu 系统安装,VMware
  8. MyCat安装和基本配置
  9. PowerJob高级特效-容器部署完整教程
  10. zabbix 线路质量监控自定义python模块(Mysql版),多线程(后来发现使用协程更好)降低系统消耗