2017-04-19 8 views
0

タイトルの直後にパネルのヘッ​​ダ項目を配置する必要があります。タイトルの直後にパネルヘッダに項目を挿入する

[タイトル] [項目] ============ ================ [< <]

しかし、これだ:

[タイトル] =============== ============= [アイテム] [< <]

私が使用しているの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' 
     }] 
     } 
    }); 
}); 
+0

http://jsfiddle.net/U8MSd/152/ – alxbel

答えて

1

クラスで配置することができます。 fiddle

関連する問題