Browse Source

无JIRA任务 颜色选择器popup自适应布局

es6
windy 3 years ago
parent
commit
625342689b
  1. 5
      src/case/colorchooser/colorpicker/editor.colorpicker.hex.js

5
src/case/colorchooser/colorpicker/editor.colorpicker.hex.js

@ -120,7 +120,10 @@ BI.HexColorPickerEditor = BI.inherit(BI.Widget, {
lgap: 10, lgap: 10,
}] }]
}, { }, {
el: {
type: "bi.vertical_adapt", type: "bi.vertical_adapt",
columnSize: [16, 10, 'fill', 12, c.RGB_WIDTH, 12, c.RGB_WIDTH, 12, c.RGB_WIDTH],
rgap: 5, rgap: 5,
items: [{ items: [{
el: { el: {
@ -179,8 +182,10 @@ BI.HexColorPickerEditor = BI.inherit(BI.Widget, {
self.B = _ref self.B = _ref
} }
}), }),
rgap: -5,
width: c.RGB_WIDTH width: c.RGB_WIDTH
}] }]
}
}] }]
}, },
left: 0, left: 0,

Loading…
Cancel
Save