Skip to content

工具栏右侧新增的按钮里面的图标没有居中 #1368

@cn-src

Description

@cn-src

(必填)请填写问题描述或截图:
工具栏右侧新增的按钮里面的图标没有居中,往左边偏移了一点。
image

(必填)请填在线链接:
codesandbox

 <vxe-grid ref='xGrid' v-bind="gridOptions">
    <template #toolbar_buttons>
    <vxe-button>新增</vxe-button>
    </template>
    <template #toolbar_tools>
    <vxe-button status="primary" icon="fa fa-plus" circle></vxe-button>
    <vxe-button status="danger" icon="fa fa-trash-o" circle style="margin-right: 20px"></vxe-button>
    </template>
  </vxe-grid>
toolbarConfig: {
          slots: {
            buttons: 'toolbar_buttons',
            tools: 'toolbar_tools',
          },
         refresh: true,
          zoom: true,
          custom: true
}

(必填)请填写期望的结果:
按钮图标居中

(必填)请填写以下信息:

  • OS: win10
  • Browser: chrome 90
  • vue: 2.0+
  • vxe-table: 3.0+

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions