Browse Source

Pull request #2103: 无JIRA任务 补充下simple_color_chooser的布局调整

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

* commit '89db8cfac8b64b9a17da145dd064c3c44f71479d':
  无JIRA任务 补充下simple_color_chooser的布局调整
es6
windy 3 years ago
parent
commit
c16f7dcad7
  1. 2
      src/case/colorchooser/colorchooser.js
  2. 4
      src/case/colorchooser/colorpicker/editor.colorpicker.hex.simple.js

2
src/case/colorchooser/colorchooser.js

@ -91,7 +91,7 @@ BI.ColorChooser = BI.inherit(BI.Widget, {
},
setValue: function (color) {
this.combo.setValue(color || "");
this.combo.setValue((color || "").toLowerCase());
},
getValue: function () {

4
src/case/colorchooser/colorpicker/editor.colorpicker.hex.simple.js

@ -55,8 +55,10 @@ BI.SimpleHexColorPickerEditor = BI.inherit(BI.Widget, {
type: "bi.vertical",
tgap: 10,
items: [{
el: {
type: "bi.vertical_adapt",
rgap: 5,
columnSize: [16, 10, 'fill', 12, c.RGB_WIDTH, 12, c.RGB_WIDTH, 12, c.RGB_WIDTH],
items: [{
el: {
type: "bi.layout",
@ -113,8 +115,10 @@ BI.SimpleHexColorPickerEditor = BI.inherit(BI.Widget, {
self.B = _ref
}
}),
rgap: -5,
width: c.RGB_WIDTH
}]
}
}]
}

Loading…
Cancel
Save