如何在extjs按钮中居中图标?

Bee*_*ice 5 html css extjs

我有一个简单的按钮,但我无法使图标居中.

{
    xtype: 'button',
    width: 150,
    height: 150,
    cls: 'startbutton'
}
Run Code Online (Sandbox Code Playgroud)

CSS:

.startbutton { 
    background-image: url(Camera.png) !important;
}
Run Code Online (Sandbox Code Playgroud)

此图像为72x72像素.

Eng*_*eer 4

我认为,你需要背景位置

.startbutton { 
    background-position: center center;
    background-image: url(Camera.png) !important;
}
Run Code Online (Sandbox Code Playgroud)