|
|
@ -65065,8 +65065,7 @@ BI.CustomColorChooser = BI.inherit(BI.Widget, { |
|
|
|
BI.CustomColorChooser.superclass._init.apply(this, arguments); |
|
|
|
BI.CustomColorChooser.superclass._init.apply(this, arguments); |
|
|
|
var self = this; |
|
|
|
var self = this; |
|
|
|
this.editor = BI.createWidget({ |
|
|
|
this.editor = BI.createWidget({ |
|
|
|
type: "bi.color_picker_editor", |
|
|
|
type: "bi.color_picker_editor" |
|
|
|
width: 195 |
|
|
|
|
|
|
|
}); |
|
|
|
}); |
|
|
|
this.editor.on(BI.ColorPickerEditor.EVENT_CHANGE, function () { |
|
|
|
this.editor.on(BI.ColorPickerEditor.EVENT_CHANGE, function () { |
|
|
|
self.setValue(this.getValue()); |
|
|
|
self.setValue(this.getValue()); |
|
|
@ -65085,9 +65084,9 @@ BI.CustomColorChooser = BI.inherit(BI.Widget, { |
|
|
|
type: "bi.absolute", |
|
|
|
type: "bi.absolute", |
|
|
|
items: [{ |
|
|
|
items: [{ |
|
|
|
el: this.editor, |
|
|
|
el: this.editor, |
|
|
|
left: 15, |
|
|
|
left: 10, |
|
|
|
top: 10, |
|
|
|
top: 10, |
|
|
|
right: 15 |
|
|
|
right: 10 |
|
|
|
}], |
|
|
|
}], |
|
|
|
height: 30 |
|
|
|
height: 30 |
|
|
|
}, { |
|
|
|
}, { |
|
|
@ -65719,7 +65718,7 @@ BI.ColorPickerEditor = BI.inherit(BI.Widget, { |
|
|
|
_defaultConfig: function () { |
|
|
|
_defaultConfig: function () { |
|
|
|
return BI.extend(BI.ColorPickerEditor.superclass._defaultConfig.apply(this, arguments), { |
|
|
|
return BI.extend(BI.ColorPickerEditor.superclass._defaultConfig.apply(this, arguments), { |
|
|
|
baseCls: "bi-color-picker-editor", |
|
|
|
baseCls: "bi-color-picker-editor", |
|
|
|
width: 200, |
|
|
|
// width: 200,
|
|
|
|
height: 20 |
|
|
|
height: 20 |
|
|
|
}) |
|
|
|
}) |
|
|
|
}, |
|
|
|
}, |
|
|
|