Browse Source

CHART-15955 & CHART-16115 调整富文本界面宽高

final/10.0
Qinghui.Liu 4 years ago
parent
commit
508f90f401
  1. 2
      designer-chart/src/main/java/com/fr/van/chart/designer/component/VanChartRichEditorDialog.java
  2. 1
      designer-chart/src/main/resources/com/fr/design/editor/script/editor.js

2
designer-chart/src/main/java/com/fr/van/chart/designer/component/VanChartRichEditorDialog.java

@ -10,7 +10,7 @@ import java.awt.Frame;
public class VanChartRichEditorDialog extends BasicDialog { public class VanChartRichEditorDialog extends BasicDialog {
public static final Dimension DEFAULT = new Dimension(660, 600); public static final Dimension DEFAULT = new Dimension(960, 600);
public VanChartRichEditorDialog(Frame parent, BasicPane pane) { public VanChartRichEditorDialog(Frame parent, BasicPane pane) {
super(parent, pane); super(parent, pane);

1
designer-chart/src/main/resources/com/fr/design/editor/script/editor.js

@ -27,7 +27,6 @@
this.editor = BI.createWidget({ this.editor = BI.createWidget({
type: "bi.nic_editor", type: "bi.nic_editor",
$value: "chart-common-editor", $value: "chart-common-editor",
height: 365,
cls: "editor bi-border bi-focus-shadow " + (o.textAlign === "center" ? "editor-center-text" : ""), cls: "editor bi-border bi-focus-shadow " + (o.textAlign === "center" ? "editor-center-text" : ""),
listeners: [{ listeners: [{
eventName: BI.NicEditor.EVENT_FOCUS, eventName: BI.NicEditor.EVENT_FOCUS,

Loading…
Cancel
Save