Browse Source

Pull request #2498: BI-101417 icon和text位置反了

Merge in VISUAL/fineui from ~WINDY/fui:master to master

* commit '933d8d52fd1f2951dae6f093e62aa21226b2b41b':
  无JIRA任务 icon和text位置反了
es6
windy 3 years ago
parent
commit
a75e274e6b
  1. 16
      src/base/single/button/listitem/blankicontextitem.js

16
src/base/single/button/listitem/blankicontextitem.js

@ -30,10 +30,17 @@ BI.BlankIconTextItem = BI.inherit(BI.BasicButton, {
return {
type: "bi.vertical_adapt",
columnSize: [o.blankWidth, "fill", o.iconWrapperWidth || o.height],
columnSize: [o.blankWidth, o.iconWrapperWidth || o.height, "fill"],
items: [{
type: "bi.layout",
width: o.blankWidth
}, {
type: "bi.icon_label",
cls: o.iconCls,
width: o.iconWrapperWidth || o.height,
height: o.height,
iconWidth: o.iconWidth,
iconHeight: o.iconHeight
}, {
type: "bi.label",
ref: function (_ref) {
@ -49,13 +56,6 @@ BI.BlankIconTextItem = BI.inherit(BI.BasicButton, {
value: o.value,
keyword: o.keyword,
height: o.height
}, {
type: "bi.icon_label",
cls: o.iconCls,
width: o.iconWrapperWidth || o.height,
height: o.height,
iconWidth: o.iconWidth,
iconHeight: o.iconHeight
}]
};
},

Loading…
Cancel
Save