From 3dc41c235320374cc73e6a7e7ab4f49d7aa79517 Mon Sep 17 00:00:00 2001 From: Guyi Date: Tue, 27 Aug 2019 15:27:31 +0800 Subject: [PATCH] =?UTF-8?q?BI-49178=20fix=EF=BC=9A=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E5=8F=B6=E5=AD=90=E8=8A=82=E7=82=B9=E9=97=B4=E8=B7=9D=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/case/button/treeitem/item.icon.treeleaf.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/case/button/treeitem/item.icon.treeleaf.js b/src/case/button/treeitem/item.icon.treeleaf.js index a7a18358b..403ab03d4 100644 --- a/src/case/button/treeitem/item.icon.treeleaf.js +++ b/src/case/button/treeitem/item.icon.treeleaf.js @@ -40,7 +40,7 @@ BI.IconTreeLeafItem = BI.inherit(BI.BasicButton, { }); var type = BI.LogicFactory.createLogicTypeByDirection(BI.Direction.Left); var items = BI.LogicFactory.createLogicItemsByDirection(BI.Direction.Left, { - width: 24, + width: 16, el: icon }, { el: this.text @@ -48,7 +48,8 @@ BI.IconTreeLeafItem = BI.inherit(BI.BasicButton, { BI.createWidget(BI.extend({ element: this }, BI.LogicFactory.createLogic(type, BI.extend(o.logic, { - items: items + items: items, + hgap: 5 })))); },