windy 5 years ago
parent
commit
977e60429f
  1. 3
      demo/js/case/list/demo.select_list.js
  2. 2
      demo/js/core/abstract/combination/demo.combo.js
  3. 5
      demo/js/core/layout/demo.absolute.js
  4. 3
      demo/js/widget/basewidget/demo.items.js
  5. BIN
      dist/images/1x/icon/dark/tree_collapse_1.png
  6. BIN
      dist/images/1x/icon/dark/tree_collapse_2.png
  7. BIN
      dist/images/1x/icon/dark/tree_collapse_3.png
  8. BIN
      dist/images/1x/icon/dark/tree_collapse_4.png
  9. BIN
      dist/images/1x/icon/dark/tree_expand_1.png
  10. BIN
      dist/images/1x/icon/dark/tree_expand_2.png
  11. BIN
      dist/images/1x/icon/dark/tree_expand_3.png
  12. BIN
      dist/images/1x/icon/dark/tree_expand_4.png
  13. BIN
      dist/images/1x/icon/dark/tree_vertical_line_1.png
  14. BIN
      dist/images/1x/icon/dark/tree_vertical_line_2.png
  15. BIN
      dist/images/1x/icon/dark/tree_vertical_line_3.png
  16. BIN
      dist/images/1x/icon/dark/tree_vertical_line_4.png
  17. BIN
      dist/images/1x/icon/dark/tree_vertical_line_5.png
  18. BIN
      dist/images/1x/icon/tree_collapse_1.png
  19. BIN
      dist/images/1x/icon/tree_collapse_2.png
  20. BIN
      dist/images/1x/icon/tree_collapse_3.png
  21. BIN
      dist/images/1x/icon/tree_collapse_4.png
  22. BIN
      dist/images/1x/icon/tree_expand_1.png
  23. BIN
      dist/images/1x/icon/tree_expand_2.png
  24. BIN
      dist/images/1x/icon/tree_expand_3.png
  25. BIN
      dist/images/1x/icon/tree_expand_4.png
  26. BIN
      dist/images/1x/icon/tree_vertical_line_1.png
  27. BIN
      dist/images/1x/icon/tree_vertical_line_2.png
  28. BIN
      dist/images/1x/icon/tree_vertical_line_3.png
  29. BIN
      dist/images/1x/icon/tree_vertical_line_4.png
  30. BIN
      dist/images/1x/icon/tree_vertical_line_5.png
  31. BIN
      dist/images/2x/icon/dark/tree_collapse_1.png
  32. BIN
      dist/images/2x/icon/dark/tree_collapse_2.png
  33. BIN
      dist/images/2x/icon/dark/tree_collapse_3.png
  34. BIN
      dist/images/2x/icon/dark/tree_collapse_4.png
  35. BIN
      dist/images/2x/icon/dark/tree_expand_1.png
  36. BIN
      dist/images/2x/icon/dark/tree_expand_2.png
  37. BIN
      dist/images/2x/icon/dark/tree_expand_3.png
  38. BIN
      dist/images/2x/icon/dark/tree_expand_4.png
  39. BIN
      dist/images/2x/icon/dark/tree_vertical_line_1.png
  40. BIN
      dist/images/2x/icon/dark/tree_vertical_line_2.png
  41. BIN
      dist/images/2x/icon/dark/tree_vertical_line_3.png
  42. BIN
      dist/images/2x/icon/dark/tree_vertical_line_4.png
  43. BIN
      dist/images/2x/icon/dark/tree_vertical_line_5.png
  44. BIN
      dist/images/2x/icon/tree_collapse_1.png
  45. BIN
      dist/images/2x/icon/tree_collapse_2.png
  46. BIN
      dist/images/2x/icon/tree_collapse_3.png
  47. BIN
      dist/images/2x/icon/tree_collapse_4.png
  48. BIN
      dist/images/2x/icon/tree_expand_1.png
  49. BIN
      dist/images/2x/icon/tree_expand_2.png
  50. BIN
      dist/images/2x/icon/tree_expand_3.png
  51. BIN
      dist/images/2x/icon/tree_expand_4.png
  52. BIN
      dist/images/2x/icon/tree_vertical_line_1.png
  53. BIN
      dist/images/2x/icon/tree_vertical_line_2.png
  54. BIN
      dist/images/2x/icon/tree_vertical_line_3.png
  55. BIN
      dist/images/2x/icon/tree_vertical_line_4.png
  56. BIN
      dist/images/2x/icon/tree_vertical_line_5.png
  57. 2
      src/case/button/node/node.arrow.js
  58. 2
      src/case/button/node/node.first.plus.js
  59. 2
      src/case/button/node/node.icon.arrow.js
  60. 2
      src/case/button/node/node.last.plus.js
  61. 2
      src/case/button/node/node.mid.plus.js
  62. 2
      src/case/button/node/node.multilayer.icon.arrow.js
  63. 2
      src/case/button/node/node.plus.js
  64. 10
      src/case/button/treeitem/item.first.treeleaf.js
  65. 2
      src/case/button/treeitem/item.icon.treeleaf.js
  66. 10
      src/case/button/treeitem/item.last.treeleaf.js
  67. 10
      src/case/button/treeitem/item.mid.treeleaf.js
  68. 2
      src/case/button/treeitem/item.multilayer.icon.treeleaf.js
  69. 2
      src/case/button/treeitem/item.treetextleaf.js
  70. 4
      src/case/calendar/calendar.js
  71. 4
      src/case/calendar/calendar.year.js
  72. 4
      src/case/checkbox/check.first.treenode.js
  73. 4
      src/case/checkbox/check.last.treenode.js
  74. 4
      src/case/checkbox/check.mid.treenode.js
  75. 4
      src/case/checkbox/check.treenode.js
  76. 4
      src/case/combo/iconcombo/popup.iconcombo.js
  77. 2
      src/case/combo/icontextvaluecombo/combo.icontextvalue.js
  78. 4
      src/case/combo/icontextvaluecombo/popup.icontextvalue.js
  79. 2
      src/case/combo/textvaluecheckcombo/popup.textvaluecheck.js
  80. 2
      src/case/combo/textvaluecombo/combo.textvalue.js
  81. 2
      src/case/combo/textvaluecombo/combo.textvaluesmall.js
  82. 4
      src/case/combo/textvaluecombo/popup.textvalue.js
  83. 4
      src/css/base/tree/ztree.css
  84. 4
      src/less/base/tree/ztree.less
  85. 2
      src/widget/downlist/item.downlist.js
  86. 2
      src/widget/downlist/popup.downlist.js
  87. 2
      src/widget/multilayerdownlist/popup.downlist.js
  88. 6
      src/widget/multilayerselecttree/node/node.first.plus.js
  89. 6
      src/widget/multilayerselecttree/node/node.last.plus.js
  90. 6
      src/widget/multilayerselecttree/node/node.mid.plus.js
  91. 6
      src/widget/multilayerselecttree/node/node.plus.js
  92. 6
      src/widget/multilayersingletree/node/node.first.plus.js
  93. 6
      src/widget/multilayersingletree/node/node.last.plus.js
  94. 6
      src/widget/multilayersingletree/node/node.mid.plus.js
  95. 4
      src/widget/multilayersingletree/node/node.plus.js
  96. 6
      src/widget/multilayersingletree/treeitem/item.first.treeleaf.js
  97. 6
      src/widget/multilayersingletree/treeitem/item.last.treeleaf.js
  98. 6
      src/widget/multilayersingletree/treeitem/item.mid.treeleaf.js
  99. 2
      src/widget/multiselect/multiselect.loader.js
  100. 2
      src/widget/searchmultitextvaluecombo/multitextvalue.loader.search.js
  101. Some files were not shown because too many files have changed in this diff Show More

3
demo/js/case/list/demo.select_list.js

@ -18,8 +18,7 @@ Demo.Func = BI.inherit(BI.Widget, {
} }
}, },
items: BI.createItems(BI.deepClone(Demo.CONSTANTS.SIMPLE_ITEMS), { items: BI.createItems(BI.deepClone(Demo.CONSTANTS.SIMPLE_ITEMS), {
type: "bi.multi_select_item", type: "bi.multi_select_item"
height: 30
}) })
}); });
} }

2
demo/js/core/abstract/combination/demo.combo.js

@ -152,7 +152,7 @@ Demo.Func = BI.inherit(BI.Widget, {
type: "bi.button_group", type: "bi.button_group",
items: BI.createItems(BI.deepClone(this.years), { items: BI.createItems(BI.deepClone(this.years), {
type: "bi.single_select_radio_item", type: "bi.single_select_radio_item",
height: 30, height: 25,
handler: function (v) { handler: function (v) {
} }

5
demo/js/core/layout/demo.absolute.js

@ -5,16 +5,15 @@ Demo.AbsoluteLayout = BI.inherit(BI.Widget, {
render: function () { render: function () {
return { return {
type: "bi.absolute", type: "bi.absolute",
scrollx: true,
items: [{ items: [{
el: { el: {
type: "bi.label", type: "bi.label",
text: "绝对布局", text: "绝对布局",
cls: "layout-bg1", cls: "layout-bg1",
width: 800, width: 300,
height: 200 height: 200
}, },
right: 100, left: 100,
top: 100 top: 100
}] }]
}; };

3
demo/js/widget/basewidget/demo.items.js

@ -16,11 +16,9 @@ Demo.Items = BI.inherit(BI.Widget, {
text: "单选item" text: "单选item"
}, { }, {
type: "bi.single_select_item", type: "bi.single_select_item",
height: 30,
text: "单选项" text: "单选项"
}, { }, {
type: "bi.single_select_radio_item", type: "bi.single_select_radio_item",
height: 30,
text: "单选项" text: "单选项"
}, { }, {
type: "bi.label", type: "bi.label",
@ -28,7 +26,6 @@ Demo.Items = BI.inherit(BI.Widget, {
text: "复选item" text: "复选item"
}, { }, {
type: "bi.multi_select_item", type: "bi.multi_select_item",
height: 30,
text: "复选项" text: "复选项"
}, { }, {
type: "bi.switch", type: "bi.switch",

BIN
dist/images/1x/icon/dark/tree_collapse_1.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 210 B

After

Width:  |  Height:  |  Size: 193 B

BIN
dist/images/1x/icon/dark/tree_collapse_2.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 247 B

After

Width:  |  Height:  |  Size: 230 B

BIN
dist/images/1x/icon/dark/tree_collapse_3.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 257 B

After

Width:  |  Height:  |  Size: 247 B

BIN
dist/images/1x/icon/dark/tree_collapse_4.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 244 B

After

Width:  |  Height:  |  Size: 236 B

BIN
dist/images/1x/icon/dark/tree_expand_1.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 188 B

After

Width:  |  Height:  |  Size: 171 B

BIN
dist/images/1x/icon/dark/tree_expand_2.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 218 B

After

Width:  |  Height:  |  Size: 213 B

BIN
dist/images/1x/icon/dark/tree_expand_3.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 230 B

After

Width:  |  Height:  |  Size: 227 B

BIN
dist/images/1x/icon/dark/tree_expand_4.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 217 B

After

Width:  |  Height:  |  Size: 214 B

BIN
dist/images/1x/icon/dark/tree_vertical_line_1.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 102 B

After

Width:  |  Height:  |  Size: 102 B

BIN
dist/images/1x/icon/dark/tree_vertical_line_2.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 166 B

After

Width:  |  Height:  |  Size: 143 B

BIN
dist/images/1x/icon/dark/tree_vertical_line_3.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 171 B

After

Width:  |  Height:  |  Size: 162 B

BIN
dist/images/1x/icon/dark/tree_vertical_line_4.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 153 B

After

Width:  |  Height:  |  Size: 148 B

BIN
dist/images/1x/icon/dark/tree_vertical_line_5.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 147 B

After

Width:  |  Height:  |  Size: 138 B

BIN
dist/images/1x/icon/tree_collapse_1.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 209 B

After

Width:  |  Height:  |  Size: 192 B

BIN
dist/images/1x/icon/tree_collapse_2.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 243 B

After

Width:  |  Height:  |  Size: 224 B

BIN
dist/images/1x/icon/tree_collapse_3.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 253 B

After

Width:  |  Height:  |  Size: 240 B

BIN
dist/images/1x/icon/tree_collapse_4.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 239 B

After

Width:  |  Height:  |  Size: 228 B

BIN
dist/images/1x/icon/tree_expand_1.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 188 B

After

Width:  |  Height:  |  Size: 170 B

BIN
dist/images/1x/icon/tree_expand_2.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 214 B

After

Width:  |  Height:  |  Size: 203 B

BIN
dist/images/1x/icon/tree_expand_3.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 226 B

After

Width:  |  Height:  |  Size: 218 B

BIN
dist/images/1x/icon/tree_expand_4.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 214 B

After

Width:  |  Height:  |  Size: 204 B

BIN
dist/images/1x/icon/tree_vertical_line_1.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 102 B

After

Width:  |  Height:  |  Size: 102 B

BIN
dist/images/1x/icon/tree_vertical_line_2.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 154 B

After

Width:  |  Height:  |  Size: 144 B

BIN
dist/images/1x/icon/tree_vertical_line_3.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 171 B

After

Width:  |  Height:  |  Size: 162 B

BIN
dist/images/1x/icon/tree_vertical_line_4.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 153 B

After

Width:  |  Height:  |  Size: 148 B

BIN
dist/images/1x/icon/tree_vertical_line_5.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 147 B

After

Width:  |  Height:  |  Size: 138 B

BIN
dist/images/2x/icon/dark/tree_collapse_1.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 311 B

After

Width:  |  Height:  |  Size: 272 B

BIN
dist/images/2x/icon/dark/tree_collapse_2.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 370 B

After

Width:  |  Height:  |  Size: 333 B

BIN
dist/images/2x/icon/dark/tree_collapse_3.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 394 B

After

Width:  |  Height:  |  Size: 338 B

BIN
dist/images/2x/icon/dark/tree_collapse_4.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 366 B

After

Width:  |  Height:  |  Size: 320 B

BIN
dist/images/2x/icon/dark/tree_expand_1.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 285 B

After

Width:  |  Height:  |  Size: 244 B

BIN
dist/images/2x/icon/dark/tree_expand_2.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 349 B

After

Width:  |  Height:  |  Size: 311 B

BIN
dist/images/2x/icon/dark/tree_expand_3.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 374 B

After

Width:  |  Height:  |  Size: 316 B

BIN
dist/images/2x/icon/dark/tree_expand_4.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 345 B

After

Width:  |  Height:  |  Size: 299 B

BIN
dist/images/2x/icon/dark/tree_vertical_line_1.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 124 B

After

Width:  |  Height:  |  Size: 117 B

BIN
dist/images/2x/icon/dark/tree_vertical_line_2.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 265 B

After

Width:  |  Height:  |  Size: 215 B

BIN
dist/images/2x/icon/dark/tree_vertical_line_3.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 287 B

After

Width:  |  Height:  |  Size: 238 B

BIN
dist/images/2x/icon/dark/tree_vertical_line_4.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 243 B

After

Width:  |  Height:  |  Size: 206 B

BIN
dist/images/2x/icon/dark/tree_vertical_line_5.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 238 B

After

Width:  |  Height:  |  Size: 210 B

BIN
dist/images/2x/icon/tree_collapse_1.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 309 B

After

Width:  |  Height:  |  Size: 274 B

BIN
dist/images/2x/icon/tree_collapse_2.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 372 B

After

Width:  |  Height:  |  Size: 336 B

BIN
dist/images/2x/icon/tree_collapse_3.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 397 B

After

Width:  |  Height:  |  Size: 344 B

BIN
dist/images/2x/icon/tree_collapse_4.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 372 B

After

Width:  |  Height:  |  Size: 328 B

BIN
dist/images/2x/icon/tree_expand_1.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 283 B

After

Width:  |  Height:  |  Size: 246 B

BIN
dist/images/2x/icon/tree_expand_2.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 345 B

After

Width:  |  Height:  |  Size: 309 B

BIN
dist/images/2x/icon/tree_expand_3.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 371 B

After

Width:  |  Height:  |  Size: 316 B

BIN
dist/images/2x/icon/tree_expand_4.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 341 B

After

Width:  |  Height:  |  Size: 300 B

BIN
dist/images/2x/icon/tree_vertical_line_1.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 124 B

After

Width:  |  Height:  |  Size: 117 B

BIN
dist/images/2x/icon/tree_vertical_line_2.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 241 B

After

Width:  |  Height:  |  Size: 220 B

BIN
dist/images/2x/icon/tree_vertical_line_3.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 286 B

After

Width:  |  Height:  |  Size: 242 B

BIN
dist/images/2x/icon/tree_vertical_line_4.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 242 B

After

Width:  |  Height:  |  Size: 211 B

BIN
dist/images/2x/icon/tree_vertical_line_5.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 238 B

After

Width:  |  Height:  |  Size: 215 B

2
src/case/button/node/node.arrow.js

@ -12,7 +12,7 @@ BI.ArrowNode = BI.inherit(BI.NodeButton, {
id: "", id: "",
pId: "", pId: "",
open: false, open: false,
height: 30 height: 24
}); });
}, },
_init: function () { _init: function () {

2
src/case/button/node/node.first.plus.js

@ -15,7 +15,7 @@ BI.FirstPlusGroupNode = BI.inherit(BI.NodeButton, {
id: "", id: "",
pId: "", pId: "",
open: false, open: false,
height: 30 height: 24
}); });
}, },
_init: function () { _init: function () {

2
src/case/button/node/node.icon.arrow.js

@ -17,7 +17,7 @@ BI.IconArrowNode = BI.inherit(BI.NodeButton, {
id: "", id: "",
pId: "", pId: "",
open: false, open: false,
height: 30, height: 24,
iconHeight: 12, iconHeight: 12,
iconWidth: 12, iconWidth: 12,
iconCls: "" iconCls: ""

2
src/case/button/node/node.last.plus.js

@ -15,7 +15,7 @@ BI.LastPlusGroupNode = BI.inherit(BI.NodeButton, {
id: "", id: "",
pId: "", pId: "",
open: false, open: false,
height: 30 height: 24
}); });
}, },
_init: function () { _init: function () {

2
src/case/button/node/node.mid.plus.js

@ -15,7 +15,7 @@ BI.MidPlusGroupNode = BI.inherit(BI.NodeButton, {
id: "", id: "",
pId: "", pId: "",
open: false, open: false,
height: 30 height: 24
}); });
}, },
_init: function () { _init: function () {

2
src/case/button/node/node.multilayer.icon.arrow.js

@ -7,7 +7,7 @@ BI.MultiLayerIconArrowNode = BI.inherit(BI.NodeButton, {
id: "", id: "",
pId: "", pId: "",
open: false, open: false,
height: 30, height: 24,
iconHeight: 16, iconHeight: 16,
iconWidth: 16, iconWidth: 16,
iconCls: "" iconCls: ""

2
src/case/button/node/node.plus.js

@ -15,7 +15,7 @@ BI.PlusGroupNode = BI.inherit(BI.NodeButton, {
id: "", id: "",
pId: "", pId: "",
open: false, open: false,
height: 30 height: 24
}); });
}, },
_init: function () { _init: function () {

10
src/case/button/treeitem/item.first.treeleaf.js

@ -13,7 +13,7 @@ BI.FirstTreeLeafItem = BI.inherit(BI.BasicButton, {
id: "", id: "",
pId: "", pId: "",
layer: 0, layer: 0,
height: 30 height: 24
}); });
}, },
_init: function () { _init: function () {
@ -42,19 +42,19 @@ BI.FirstTreeLeafItem = BI.inherit(BI.BasicButton, {
}); });
var type = BI.LogicFactory.createLogicTypeByDirection(BI.Direction.Left); var type = BI.LogicFactory.createLogicTypeByDirection(BI.Direction.Left);
var items = BI.LogicFactory.createLogicItemsByDirection(BI.Direction.Left, ((o.layer === 0) ? "" : { var items = BI.LogicFactory.createLogicItemsByDirection(BI.Direction.Left, ((o.layer === 0) ? "" : {
width: 15, width: 12,
el: { el: {
type: "bi.layout", type: "bi.layout",
cls: (o.pNode && o.pNode.isLastNode) ? "" : "base-line-conn-background", cls: (o.pNode && o.pNode.isLastNode) ? "" : "base-line-conn-background",
width: 15, width: 12,
height: o.height height: o.height
} }
}), { }), {
width: 30, width: 24,
el: { el: {
type: "bi.layout", type: "bi.layout",
cls: "first-line-conn-background", cls: "first-line-conn-background",
width: 30, width: 24,
height: o.height height: o.height
} }
}, { }, {

2
src/case/button/treeitem/item.icon.treeleaf.js

@ -5,7 +5,7 @@ BI.IconTreeLeafItem = BI.inherit(BI.BasicButton, {
logic: { logic: {
dynamic: false dynamic: false
}, },
height: 30, height: 24,
iconWidth: 16, iconWidth: 16,
iconHeight: 16, iconHeight: 16,
iconCls: "" iconCls: ""

10
src/case/button/treeitem/item.last.treeleaf.js

@ -13,7 +13,7 @@ BI.LastTreeLeafItem = BI.inherit(BI.BasicButton, {
id: "", id: "",
pId: "", pId: "",
layer: 0, layer: 0,
height: 30 height: 24
}); });
}, },
_init: function () { _init: function () {
@ -42,19 +42,19 @@ BI.LastTreeLeafItem = BI.inherit(BI.BasicButton, {
}); });
var type = BI.LogicFactory.createLogicTypeByDirection(BI.Direction.Left); var type = BI.LogicFactory.createLogicTypeByDirection(BI.Direction.Left);
var items = BI.LogicFactory.createLogicItemsByDirection(BI.Direction.Left, ((o.layer === 0) ? "" : { var items = BI.LogicFactory.createLogicItemsByDirection(BI.Direction.Left, ((o.layer === 0) ? "" : {
width: 15, width: 12,
el: { el: {
type: "bi.layout", type: "bi.layout",
cls: (o.pNode && o.pNode.isLastNode) ? "" : "base-line-conn-background", cls: (o.pNode && o.pNode.isLastNode) ? "" : "base-line-conn-background",
width: 15, width: 12,
height: o.height height: o.height
} }
}), { }), {
width: 30, width: 24,
el: { el: {
type: "bi.layout", type: "bi.layout",
cls: "last-line-conn-background", cls: "last-line-conn-background",
width: 30, width: 24,
height: o.height height: o.height
} }
}, { }, {

10
src/case/button/treeitem/item.mid.treeleaf.js

@ -13,7 +13,7 @@ BI.MidTreeLeafItem = BI.inherit(BI.BasicButton, {
id: "", id: "",
pId: "", pId: "",
layer: 0, layer: 0,
height: 30 height: 24
}); });
}, },
_init: function () { _init: function () {
@ -42,19 +42,19 @@ BI.MidTreeLeafItem = BI.inherit(BI.BasicButton, {
}); });
var type = BI.LogicFactory.createLogicTypeByDirection(BI.Direction.Left); var type = BI.LogicFactory.createLogicTypeByDirection(BI.Direction.Left);
var items = BI.LogicFactory.createLogicItemsByDirection(BI.Direction.Left, ((o.layer === 0) ? "" : { var items = BI.LogicFactory.createLogicItemsByDirection(BI.Direction.Left, ((o.layer === 0) ? "" : {
width: 15, width: 12,
el: { el: {
type: "bi.layout", type: "bi.layout",
cls: (o.pNode && o.pNode.isLastNode) ? "" : "base-line-conn-background", cls: (o.pNode && o.pNode.isLastNode) ? "" : "base-line-conn-background",
width: 15, width: 12,
height: o.height height: o.height
} }
}), { }), {
width: 30, width: 24,
el: { el: {
type: "bi.layout", type: "bi.layout",
cls: "mid-line-conn-background", cls: "mid-line-conn-background",
width: 30, width: 24,
height: o.height height: o.height
} }
}, { }, {

2
src/case/button/treeitem/item.multilayer.icon.treeleaf.js

@ -7,7 +7,7 @@ BI.MultiLayerIconTreeLeafItem = BI.inherit(BI.BasicButton, {
return BI.extend(BI.MultiLayerIconTreeLeafItem.superclass._defaultConfig.apply(this, arguments), { return BI.extend(BI.MultiLayerIconTreeLeafItem.superclass._defaultConfig.apply(this, arguments), {
extraCls: "bi-multilayer-icon-tree-leaf-item bi-list-item-active", extraCls: "bi-multilayer-icon-tree-leaf-item bi-list-item-active",
layer: 0, layer: 0,
height: 30, height: 24,
iconCls: "", iconCls: "",
iconHeight: 16, iconHeight: 16,
iconWidth: 16 iconWidth: 16

2
src/case/button/treeitem/item.treetextleaf.js

@ -10,7 +10,7 @@ BI.TreeTextLeafItem = BI.inherit(BI.BasicButton, {
extraCls: "bi-tree-text-leaf-item bi-list-item-active", extraCls: "bi-tree-text-leaf-item bi-list-item-active",
id: "", id: "",
pId: "", pId: "",
height: 30, height: 24,
hgap: 0, hgap: 0,
lgap: 0, lgap: 0,
rgap: 0 rgap: 0

4
src/case/calendar/calendar.js

@ -112,7 +112,7 @@ BI.Calendar = BI.inherit(BI.Widget, {
whiteSpace: "normal", whiteSpace: "normal",
once: false, once: false,
forceSelected: true, forceSelected: true,
height: 30, height: 24,
value: o.year + "-" + month + "-" + td.text, value: o.year + "-" + month + "-" + td.text,
disabled: td.lastMonth || td.nextMonth || td.disabled, disabled: td.lastMonth || td.nextMonth || td.disabled,
lgap: 5, lgap: 5,
@ -129,7 +129,7 @@ BI.Calendar = BI.inherit(BI.Widget, {
columns: 7, columns: 7,
rows: 6, rows: 6,
columnSize: [1 / 7, 1 / 7, 1 / 7, 1 / 7, 1 / 7, 1 / 7, 1 / 7], columnSize: [1 / 7, 1 / 7, 1 / 7, 1 / 7, 1 / 7, 1 / 7, 1 / 7],
rowSize: 30, rowSize: 24,
vgap: 10 vgap: 10
}))] }))]
}); });

4
src/case/calendar/calendar.year.js

@ -67,7 +67,7 @@ BI.YearCalendar = BI.inherit(BI.Widget, {
whiteSpace: "normal", whiteSpace: "normal",
once: false, once: false,
forceSelected: true, forceSelected: true,
height: 30, height: 24,
width: 45, width: 45,
value: td.text, value: td.text,
disabled: td.disabled disabled: td.disabled
@ -83,7 +83,7 @@ BI.YearCalendar = BI.inherit(BI.Widget, {
columns: 2, columns: 2,
rows: 6, rows: 6,
columnSize: [1 / 2, 1 / 2], columnSize: [1 / 2, 1 / 2],
rowSize: 30 rowSize: 24
})), { })), {
type: "bi.center_adapt", type: "bi.center_adapt",
vgap: 1 vgap: 1

4
src/case/checkbox/check.first.treenode.js

@ -7,8 +7,8 @@ BI.FirstTreeNodeCheckbox = BI.inherit(BI.IconButton, {
_defaultConfig: function () { _defaultConfig: function () {
return BI.extend( BI.FirstTreeNodeCheckbox.superclass._defaultConfig.apply(this, arguments), { return BI.extend( BI.FirstTreeNodeCheckbox.superclass._defaultConfig.apply(this, arguments), {
extraCls: "tree-collapse-icon-type2", extraCls: "tree-collapse-icon-type2",
iconWidth: 30, iconWidth: 24,
iconHeight: 30 iconHeight: 24
}); });
}, },

4
src/case/checkbox/check.last.treenode.js

@ -7,8 +7,8 @@ BI.LastTreeNodeCheckbox = BI.inherit(BI.IconButton, {
_defaultConfig: function () { _defaultConfig: function () {
return BI.extend(BI.LastTreeNodeCheckbox.superclass._defaultConfig.apply(this, arguments), { return BI.extend(BI.LastTreeNodeCheckbox.superclass._defaultConfig.apply(this, arguments), {
extraCls: "tree-collapse-icon-type4", extraCls: "tree-collapse-icon-type4",
iconWidth: 30, iconWidth: 24,
iconHeight: 30 iconHeight: 24
}); });
}, },

4
src/case/checkbox/check.mid.treenode.js

@ -7,8 +7,8 @@ BI.MidTreeNodeCheckbox = BI.inherit(BI.IconButton, {
_defaultConfig: function () { _defaultConfig: function () {
return BI.extend( BI.MidTreeNodeCheckbox.superclass._defaultConfig.apply(this, arguments), { return BI.extend( BI.MidTreeNodeCheckbox.superclass._defaultConfig.apply(this, arguments), {
extraCls: "tree-collapse-icon-type3", extraCls: "tree-collapse-icon-type3",
iconWidth: 30, iconWidth: 24,
iconHeight: 30 iconHeight: 24
}); });
}, },

4
src/case/checkbox/check.treenode.js

@ -7,8 +7,8 @@ BI.TreeNodeCheckbox = BI.inherit(BI.IconButton, {
_defaultConfig: function () { _defaultConfig: function () {
return BI.extend( BI.TreeNodeCheckbox.superclass._defaultConfig.apply(this, arguments), { return BI.extend( BI.TreeNodeCheckbox.superclass._defaultConfig.apply(this, arguments), {
extraCls: "tree-collapse-icon-type1", extraCls: "tree-collapse-icon-type1",
iconWidth: 30, iconWidth: 24,
iconHeight: 30 iconHeight: 24
}); });
}, },

4
src/case/combo/iconcombo/popup.iconcombo.js

@ -19,7 +19,7 @@ BI.IconComboPopup = BI.inherit(BI.Pane, {
type: "bi.button_group", type: "bi.button_group",
items: BI.createItems(o.items, { items: BI.createItems(o.items, {
type: "bi.single_select_icon_text_item", type: "bi.single_select_icon_text_item",
height: 30 height: 24
}), }),
chooseType: o.chooseType, chooseType: o.chooseType,
layouts: [{ layouts: [{
@ -47,7 +47,7 @@ BI.IconComboPopup = BI.inherit(BI.Pane, {
BI.IconComboPopup.superclass.populate.apply(this, arguments); BI.IconComboPopup.superclass.populate.apply(this, arguments);
items = BI.createItems(items, { items = BI.createItems(items, {
type: "bi.single_select_icon_text_item", type: "bi.single_select_icon_text_item",
height: 30 height: 24
}); });
this.popup.populate(items); this.popup.populate(items);
}, },

2
src/case/combo/icontextvaluecombo/combo.icontextvalue.js

@ -57,7 +57,7 @@ BI.IconTextValueCombo = BI.inherit(BI.Widget, {
el: this.trigger, el: this.trigger,
popup: { popup: {
el: this.popup, el: this.popup,
maxHeight: 300 maxHeight: 240
} }
}); });
if (BI.isKey(o.value)) { if (BI.isKey(o.value)) {

4
src/case/combo/icontextvaluecombo/popup.icontextvalue.js

@ -15,7 +15,7 @@ BI.IconTextValueComboPopup = BI.inherit(BI.Pane, {
type: "bi.button_group", type: "bi.button_group",
items: BI.createItems(o.items, { items: BI.createItems(o.items, {
type: "bi.single_select_icon_text_item", type: "bi.single_select_icon_text_item",
height: 30, height: 24,
iconHeight: o.iconHeight, iconHeight: o.iconHeight,
iconWidth: o.iconWidth, iconWidth: o.iconWidth,
iconWrapperWidth: o.iconWrapperWidth iconWrapperWidth: o.iconWrapperWidth
@ -54,7 +54,7 @@ BI.IconTextValueComboPopup = BI.inherit(BI.Pane, {
var o = this.options; var o = this.options;
items = BI.createItems(items, { items = BI.createItems(items, {
type: "bi.single_select_icon_text_item", type: "bi.single_select_icon_text_item",
height: 30, height: 24,
iconWrapperWidth: o.iconWrapperWidth, iconWrapperWidth: o.iconWrapperWidth,
iconHeight: o.iconHeight, iconHeight: o.iconHeight,
iconWidth: o.iconWidth iconWidth: o.iconWidth

2
src/case/combo/textvaluecheckcombo/popup.textvaluecheck.js

@ -39,7 +39,7 @@ BI.TextValueCheckComboPopup = BI.inherit(BI.Pane, {
return BI.extend({ return BI.extend({
type: "bi.single_select_item", type: "bi.single_select_item",
cls: "bi-list-item", cls: "bi-list-item",
height: 30 height: 24
}, item); }, item);
}); });
}, },

2
src/case/combo/textvaluecombo/combo.textvalue.js

@ -52,7 +52,7 @@ BI.TextValueCombo = BI.inherit(BI.Widget, {
el: this.trigger, el: this.trigger,
popup: { popup: {
el: this.popup, el: this.popup,
maxHeight: 300 maxHeight: 240
} }
}); });
if(BI.isKey(o.value)) { if(BI.isKey(o.value)) {

2
src/case/combo/textvaluecombo/combo.textvaluesmall.js

@ -45,7 +45,7 @@ BI.SmallTextValueCombo = BI.inherit(BI.Widget, {
el: this.trigger, el: this.trigger,
popup: { popup: {
el: this.popup, el: this.popup,
maxHeight: 300 maxHeight: 240
} }
}); });
}, },

4
src/case/combo/textvaluecombo/popup.textvalue.js

@ -14,7 +14,7 @@ BI.TextValueComboPopup = BI.inherit(BI.Pane, {
items: BI.createItems(o.items, { items: BI.createItems(o.items, {
type: "bi.single_select_item", type: "bi.single_select_item",
textAlign: o.textAlign, textAlign: o.textAlign,
height: 30 height: 24
}), }),
chooseType: o.chooseType, chooseType: o.chooseType,
layouts: [{ layouts: [{
@ -43,7 +43,7 @@ BI.TextValueComboPopup = BI.inherit(BI.Pane, {
BI.TextValueComboPopup.superclass.populate.apply(this, arguments); BI.TextValueComboPopup.superclass.populate.apply(this, arguments);
items = BI.createItems(items, { items = BI.createItems(items, {
type: "bi.single_select_item", type: "bi.single_select_item",
height: 30 height: 24
}); });
this.popup.populate(items); this.popup.populate(items);
}, },

4
src/css/base/tree/ztree.css

@ -23,7 +23,7 @@
padding: 1px 3px 0 0; padding: 1px 3px 0 0;
margin: 0; margin: 0;
cursor: pointer; cursor: pointer;
height: 30px; height: 24px;
background-color: transparent; background-color: transparent;
text-decoration: none; text-decoration: none;
vertical-align: top; vertical-align: top;
@ -65,7 +65,7 @@
*border: 0px; *border: 0px;
} }
.ztree li span { .ztree li span {
line-height: 30px; line-height: 24px;
margin-right: 2px; margin-right: 2px;
} }
.ztree li span.button { .ztree li span.button {

4
src/less/base/tree/ztree.less

@ -29,7 +29,7 @@
padding: 1px 3px 0 0; padding: 1px 3px 0 0;
margin: 0; margin: 0;
cursor: pointer; cursor: pointer;
height: 30px; height: 24px;
background-color: transparent; background-color: transparent;
text-decoration: none; text-decoration: none;
vertical-align: top; vertical-align: top;
@ -82,7 +82,7 @@
} }
.ztree li span { .ztree li span {
line-height: 30px; line-height: 24px;
margin-right: 2px margin-right: 2px
} }

2
src/widget/downlist/item.downlist.js

@ -4,7 +4,7 @@ BI.DownListItem = BI.inherit(BI.BasicButton, {
return BI.extend(conf, { return BI.extend(conf, {
baseCls: "bi-down-list-item bi-list-item-active", baseCls: "bi-down-list-item bi-list-item-active",
cls: "", cls: "",
height: 30, height: 24,
logic: { logic: {
dynamic: true dynamic: true
}, },

2
src/widget/downlist/popup.downlist.js

@ -6,7 +6,7 @@
BI.DownListPopup = BI.inherit(BI.Pane, { BI.DownListPopup = BI.inherit(BI.Pane, {
constants: { constants: {
nextIcon: "pull-right-e-font", nextIcon: "pull-right-e-font",
height: 30, height: 24,
iconHeight: 12, iconHeight: 12,
iconWidth: 12, iconWidth: 12,
hgap: 0, hgap: 0,

2
src/widget/multilayerdownlist/popup.downlist.js

@ -6,7 +6,7 @@
BI.MultiLayerDownListPopup = BI.inherit(BI.Pane, { BI.MultiLayerDownListPopup = BI.inherit(BI.Pane, {
constants: { constants: {
nextIcon: "pull-right-e-font", nextIcon: "pull-right-e-font",
height: 30, height: 25,
iconHeight: 12, iconHeight: 12,
iconWidth: 12, iconWidth: 12,
hgap: 0, hgap: 0,

6
src/widget/multilayerselecttree/node/node.first.plus.js

@ -15,7 +15,7 @@ BI.MultiLayerSelectTreeFirstPlusGroupNode = BI.inherit(BI.NodeButton, {
pId: "", pId: "",
readonly: true, readonly: true,
open: false, open: false,
height: 30 height: 24
}); });
}, },
_init: function () { _init: function () {
@ -56,7 +56,7 @@ BI.MultiLayerSelectTreeFirstPlusGroupNode = BI.inherit(BI.NodeButton, {
items.push({ items.push({
type: "bi.layout", type: "bi.layout",
cls: BI.contains(needBlankLayers, index) ? "" : "base-line-conn-background", cls: BI.contains(needBlankLayers, index) ? "" : "base-line-conn-background",
width: 15, width: 12,
height: o.height height: o.height
}); });
}); });
@ -64,7 +64,7 @@ BI.MultiLayerSelectTreeFirstPlusGroupNode = BI.inherit(BI.NodeButton, {
BI.createWidget({ BI.createWidget({
type: "bi.td", type: "bi.td",
element: this, element: this,
columnSize: BI.makeArray(o.layer, 15), columnSize: BI.makeArray(o.layer, 12),
items: [items] items: [items]
}); });
}, },

6
src/widget/multilayerselecttree/node/node.last.plus.js

@ -15,7 +15,7 @@ BI.MultiLayerSelectTreeLastPlusGroupNode = BI.inherit(BI.NodeButton, {
pId: "", pId: "",
readonly: true, readonly: true,
open: false, open: false,
height: 30 height: 24
}); });
}, },
_init: function () { _init: function () {
@ -56,7 +56,7 @@ BI.MultiLayerSelectTreeLastPlusGroupNode = BI.inherit(BI.NodeButton, {
items.push({ items.push({
type: "bi.layout", type: "bi.layout",
cls: BI.contains(needBlankLayers, index) ? "" : "base-line-conn-background", cls: BI.contains(needBlankLayers, index) ? "" : "base-line-conn-background",
width: 15, width: 12,
height: o.height height: o.height
}); });
}); });
@ -64,7 +64,7 @@ BI.MultiLayerSelectTreeLastPlusGroupNode = BI.inherit(BI.NodeButton, {
BI.createWidget({ BI.createWidget({
type: "bi.td", type: "bi.td",
element: this, element: this,
columnSize: BI.makeArray(o.layer, 15), columnSize: BI.makeArray(o.layer, 12),
items: [items] items: [items]
}); });
}, },

6
src/widget/multilayerselecttree/node/node.mid.plus.js

@ -15,7 +15,7 @@ BI.MultiLayerSelectTreeMidPlusGroupNode = BI.inherit(BI.NodeButton, {
pId: "", pId: "",
readonly: true, readonly: true,
open: false, open: false,
height: 30 height: 24
}); });
}, },
_init: function () { _init: function () {
@ -56,7 +56,7 @@ BI.MultiLayerSelectTreeMidPlusGroupNode = BI.inherit(BI.NodeButton, {
items.push({ items.push({
type: "bi.layout", type: "bi.layout",
cls: BI.contains(needBlankLayers, index) ? "" : "base-line-conn-background", cls: BI.contains(needBlankLayers, index) ? "" : "base-line-conn-background",
width: 15, width: 12,
height: o.height height: o.height
}); });
}); });
@ -64,7 +64,7 @@ BI.MultiLayerSelectTreeMidPlusGroupNode = BI.inherit(BI.NodeButton, {
BI.createWidget({ BI.createWidget({
type: "bi.td", type: "bi.td",
element: this, element: this,
columnSize: BI.makeArray(o.layer, 15), columnSize: BI.makeArray(o.layer, 12),
items: [items] items: [items]
}); });
}, },

6
src/widget/multilayerselecttree/node/node.plus.js

@ -15,7 +15,7 @@ BI.MultiLayerSelectTreePlusGroupNode = BI.inherit(BI.NodeButton, {
pId: "", pId: "",
readonly: true, readonly: true,
open: false, open: false,
height: 30 height: 24
}); });
}, },
_init: function () { _init: function () {
@ -56,7 +56,7 @@ BI.MultiLayerSelectTreePlusGroupNode = BI.inherit(BI.NodeButton, {
items.push({ items.push({
type: "bi.layout", type: "bi.layout",
cls: BI.contains(needBlankLayers, index) ? "" : "base-line-conn-background", cls: BI.contains(needBlankLayers, index) ? "" : "base-line-conn-background",
width: 15, width: 12,
height: o.height height: o.height
}); });
}); });
@ -64,7 +64,7 @@ BI.MultiLayerSelectTreePlusGroupNode = BI.inherit(BI.NodeButton, {
BI.createWidget({ BI.createWidget({
type: "bi.td", type: "bi.td",
element: this, element: this,
columnSize: BI.makeArray(o.layer, 15), columnSize: BI.makeArray(o.layer, 12),
items: [items] items: [items]
}); });
}, },

6
src/widget/multilayersingletree/node/node.first.plus.js

@ -14,7 +14,7 @@ BI.MultiLayerSingleTreeFirstPlusGroupNode = BI.inherit(BI.NodeButton, {
id: "", id: "",
pId: "", pId: "",
open: false, open: false,
height: 30 height: 24
}); });
}, },
_init: function () { _init: function () {
@ -36,7 +36,7 @@ BI.MultiLayerSingleTreeFirstPlusGroupNode = BI.inherit(BI.NodeButton, {
items.push({ items.push({
type: "bi.layout", type: "bi.layout",
cls: BI.contains(needBlankLayers, index) ? "" : "base-line-conn-background", cls: BI.contains(needBlankLayers, index) ? "" : "base-line-conn-background",
width: 15, width: 12,
height: o.height height: o.height
}); });
}); });
@ -44,7 +44,7 @@ BI.MultiLayerSingleTreeFirstPlusGroupNode = BI.inherit(BI.NodeButton, {
BI.createWidget({ BI.createWidget({
type: "bi.td", type: "bi.td",
element: this, element: this,
columnSize: BI.makeArray(o.layer, 15), columnSize: BI.makeArray(o.layer, 12),
items: [items] items: [items]
}); });
}, },

6
src/widget/multilayersingletree/node/node.last.plus.js

@ -14,7 +14,7 @@ BI.MultiLayerSingleTreeLastPlusGroupNode = BI.inherit(BI.NodeButton, {
id: "", id: "",
pId: "", pId: "",
open: false, open: false,
height: 30 height: 24
}); });
}, },
_init: function () { _init: function () {
@ -36,7 +36,7 @@ BI.MultiLayerSingleTreeLastPlusGroupNode = BI.inherit(BI.NodeButton, {
items.push({ items.push({
type: "bi.layout", type: "bi.layout",
cls: BI.contains(needBlankLayers, index) ? "" : "base-line-conn-background", cls: BI.contains(needBlankLayers, index) ? "" : "base-line-conn-background",
width: 15, width: 12,
height: o.height height: o.height
}); });
}); });
@ -44,7 +44,7 @@ BI.MultiLayerSingleTreeLastPlusGroupNode = BI.inherit(BI.NodeButton, {
BI.createWidget({ BI.createWidget({
type: "bi.td", type: "bi.td",
element: this, element: this,
columnSize: BI.makeArray(o.layer, 15), columnSize: BI.makeArray(o.layer, 12),
items: [items] items: [items]
}); });
}, },

6
src/widget/multilayersingletree/node/node.mid.plus.js

@ -14,7 +14,7 @@ BI.MultiLayerSingleTreeMidPlusGroupNode = BI.inherit(BI.NodeButton, {
id: "", id: "",
pId: "", pId: "",
open: false, open: false,
height: 30 height: 24
}); });
}, },
_init: function () { _init: function () {
@ -36,7 +36,7 @@ BI.MultiLayerSingleTreeMidPlusGroupNode = BI.inherit(BI.NodeButton, {
items.push({ items.push({
type: "bi.layout", type: "bi.layout",
cls: BI.contains(needBlankLayers, index) ? "" : "base-line-conn-background", cls: BI.contains(needBlankLayers, index) ? "" : "base-line-conn-background",
width: 15, width: 12,
height: o.height height: o.height
}); });
}); });
@ -44,7 +44,7 @@ BI.MultiLayerSingleTreeMidPlusGroupNode = BI.inherit(BI.NodeButton, {
BI.createWidget({ BI.createWidget({
type: "bi.td", type: "bi.td",
element: this, element: this,
columnSize: BI.makeArray(o.layer, 15), columnSize: BI.makeArray(o.layer, 12),
items: [items] items: [items]
}); });
}, },

4
src/widget/multilayersingletree/node/node.plus.js

@ -12,7 +12,7 @@ BI.MultiLayerSingleTreePlusGroupNode = BI.inherit(BI.NodeButton, {
id: "", id: "",
pId: "", pId: "",
open: false, open: false,
height: 30 height: 24
}); });
}, },
_init: function () { _init: function () {
@ -34,7 +34,7 @@ BI.MultiLayerSingleTreePlusGroupNode = BI.inherit(BI.NodeButton, {
items.push({ items.push({
type: "bi.layout", type: "bi.layout",
cls: BI.contains(needBlankLayers, index) ? "" : "base-line-conn-background", cls: BI.contains(needBlankLayers, index) ? "" : "base-line-conn-background",
width: 16, width: 12,
height: o.height height: o.height
}); });
}); });

6
src/widget/multilayersingletree/treeitem/item.first.treeleaf.js

@ -14,7 +14,7 @@ BI.MultiLayerSingleTreeFirstTreeLeafItem = BI.inherit(BI.BasicButton, {
layer: 0, layer: 0,
id: "", id: "",
pId: "", pId: "",
height: 30 height: 24
}); });
}, },
_init: function () { _init: function () {
@ -57,7 +57,7 @@ BI.MultiLayerSingleTreeFirstTreeLeafItem = BI.inherit(BI.BasicButton, {
items.push({ items.push({
type: "bi.layout", type: "bi.layout",
cls: BI.contains(needBlankLayers, index) ? "" : "base-line-conn-background", cls: BI.contains(needBlankLayers, index) ? "" : "base-line-conn-background",
width: 15, width: 12,
height: o.height height: o.height
}); });
}); });
@ -65,7 +65,7 @@ BI.MultiLayerSingleTreeFirstTreeLeafItem = BI.inherit(BI.BasicButton, {
BI.createWidget({ BI.createWidget({
type: "bi.td", type: "bi.td",
element: this, element: this,
columnSize: BI.makeArray(o.layer, 15), columnSize: BI.makeArray(o.layer, 12),
items: [items] items: [items]
}); });
}, },

6
src/widget/multilayersingletree/treeitem/item.last.treeleaf.js

@ -14,7 +14,7 @@ BI.MultiLayerSingleTreeLastTreeLeafItem = BI.inherit(BI.BasicButton, {
layer: 0, layer: 0,
id: "", id: "",
pId: "", pId: "",
height: 30 height: 24
}); });
}, },
_init: function () { _init: function () {
@ -56,7 +56,7 @@ BI.MultiLayerSingleTreeLastTreeLeafItem = BI.inherit(BI.BasicButton, {
items.push({ items.push({
type: "bi.layout", type: "bi.layout",
cls: BI.contains(needBlankLayers, index) ? "" : "base-line-conn-background", cls: BI.contains(needBlankLayers, index) ? "" : "base-line-conn-background",
width: 15, width: 12,
height: o.height height: o.height
}); });
}); });
@ -64,7 +64,7 @@ BI.MultiLayerSingleTreeLastTreeLeafItem = BI.inherit(BI.BasicButton, {
BI.createWidget({ BI.createWidget({
type: "bi.td", type: "bi.td",
element: this, element: this,
columnSize: BI.makeArray(o.layer, 15), columnSize: BI.makeArray(o.layer, 12),
items: [items] items: [items]
}); });
}, },

6
src/widget/multilayersingletree/treeitem/item.mid.treeleaf.js

@ -14,7 +14,7 @@ BI.MultiLayerSingleTreeMidTreeLeafItem = BI.inherit(BI.BasicButton, {
layer: 0, layer: 0,
id: "", id: "",
pId: "", pId: "",
height: 30 height: 24
}); });
}, },
_init: function () { _init: function () {
@ -56,7 +56,7 @@ BI.MultiLayerSingleTreeMidTreeLeafItem = BI.inherit(BI.BasicButton, {
items.push({ items.push({
type: "bi.layout", type: "bi.layout",
cls: BI.contains(needBlankLayers, index) ? "" : "base-line-conn-background", cls: BI.contains(needBlankLayers, index) ? "" : "base-line-conn-background",
width: 15, width: 12,
height: o.height height: o.height
}); });
}); });
@ -64,7 +64,7 @@ BI.MultiLayerSingleTreeMidTreeLeafItem = BI.inherit(BI.BasicButton, {
BI.createWidget({ BI.createWidget({
type: "bi.td", type: "bi.td",
element: this, element: this,
columnSize: BI.makeArray(o.layer, 15), columnSize: BI.makeArray(o.layer, 12),
items: [items] items: [items]
}); });
}, },

2
src/widget/multiselect/multiselect.loader.js

@ -125,7 +125,7 @@ BI.MultiSelectLoader = BI.inherit(BI.Widget, {
type: "bi.multi_select_item", type: "bi.multi_select_item",
logic: this.options.logic, logic: this.options.logic,
cls: "bi-list-item-active", cls: "bi-list-item-active",
height: 30, height: 24,
selected: this.isAllSelected(), selected: this.isAllSelected(),
iconWrapperWidth: 36 iconWrapperWidth: 36
}); });

2
src/widget/searchmultitextvaluecombo/multitextvalue.loader.search.js

@ -112,7 +112,7 @@ BI.SearchMultiSelectLoader = BI.inherit(BI.Widget, {
type: "bi.multi_select_item", type: "bi.multi_select_item",
logic: this.options.logic, logic: this.options.logic,
cls: "bi-list-item-active", cls: "bi-list-item-active",
height: 30, height: 24,
selected: this.isAllSelected(), selected: this.isAllSelected(),
iconWrapperWidth: 36 iconWrapperWidth: 36
}); });

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save