From 131708e9e64ba422b285accbb79dcde2bf2af887 Mon Sep 17 00:00:00 2001 From: windy <1374721899@qq.com> Date: Tue, 25 Jun 2019 16:00:10 +0800 Subject: [PATCH] =?UTF-8?q?BI-46786=20refactor:=20bi.button=E8=AE=BE?= =?UTF-8?q?=E7=BD=AE=E5=AE=BD=E5=BA=A6=E5=90=8E=EF=BC=8Cicon=E5=92=8C?= =?UTF-8?q?=E6=96=87=E6=9C=AC=E5=88=86=E5=A4=AA=E5=BC=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/base/single/button/buttons/button.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/base/single/button/buttons/button.js b/src/base/single/button/buttons/button.js index 78e073290..a76540c21 100644 --- a/src/base/single/button/buttons/button.js +++ b/src/base/single/button/buttons/button.js @@ -59,7 +59,7 @@ BI.Button = BI.inherit(BI.BasicButton, { height: o.height - 2 }); BI.createWidget({ - type: "bi.horizontal_auto", + type: "bi.center_adapt", cls: o.iconCls, element: this, hgap: o.hgap,