fix button toolbar height

setting the border to false, instead of setting the style
(which had the wrong syntax for extjs6 anyway)
and set the height to 36 pixesl (because of the larger font)
this makes the buttons vertically centered

to make the text on the left vertically centered, we
remove the padding

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
Dominik Csapak 2016-03-31 11:34:25 +02:00 committed by Dietmar Maurer
parent aa2522c0f2
commit f3f4a82385

View File

@ -43,7 +43,6 @@ Ext.define('PVE.panel.Config', {
xtype: 'tbtext', xtype: 'tbtext',
text: title, text: title,
baseCls: 'x-panel-header-text', baseCls: 'x-panel-header-text',
padding: '0 0 5 0'
}); });
@ -64,8 +63,8 @@ Ext.define('PVE.panel.Config', {
var toolbar = Ext.create('Ext.toolbar.Toolbar', { var toolbar = Ext.create('Ext.toolbar.Toolbar', {
items: tbar, items: tbar,
style: 'border:0px;', border: false,
height: 32 height: 36
}); });
var tab = Ext.create('Ext.tab.Panel', { var tab = Ext.create('Ext.tab.Panel', {