0
我需要在标题后面右对齐标题项目,如下所示:在标题后面插入项目
[title] [item] ============ ===== [< <]
但得到这个:
[标题] =============== ============= [项目] [< <]
我使用ExtJS的4.2.1
Ext.onReady(function() {
Ext.create('Ext.panel.Panel', {
width: 500,
height: 500,
collapsible: true,
renderTo: Ext.getBody(),
header: {
titlePosition: 0,
title: "title",
items: [{
xtype: 'button',
text: 'test'
}]
}
});
});
http://jsfiddle.net/U8MSd/152/ – alxbel