Browse Source

ignore

feature/10.0
shine 3 years ago
parent
commit
b8317ff113
  1. 2
      designer-base/src/main/java/com/fr/design/utils/gui/AdjustWorkBookDefaultStyleUtils.java
  2. 2
      designer-realize/src/main/java/com/fr/design/actions/insert/flot/FormulaFloatAction.java
  3. 2
      designer-realize/src/main/java/com/fr/design/actions/insert/flot/TextBoxFloatAction.java

2
designer-base/src/main/java/com/fr/design/utils/gui/AdjustWorkBookDefaultStyleUtils.java

@ -30,7 +30,7 @@ public class AdjustWorkBookDefaultStyleUtils {
}
}
public static void adjustFloat(FloatElement floatElement) {
public static void adjustFloatElement(FloatElement floatElement) {
if (DesignModeContext.isDuchampMode()) {
Style style = floatElement.getStyle();
style = style.deriveBackground(ColorBackground.getInstance(TEMPLATE_BACKGROUND));

2
designer-realize/src/main/java/com/fr/design/actions/insert/flot/FormulaFloatAction.java

@ -99,7 +99,7 @@ public class FormulaFloatAction extends ElementCaseAction {
reportPane.stopEditing();
final FloatElement floatElement = new FloatElement();
AdjustWorkBookDefaultStyleUtils.adjustFloat(floatElement);
AdjustWorkBookDefaultStyleUtils.adjustFloatElement(floatElement);
final UIFormula formulaPane = FormulaFactory.createFormulaPane();
formulaPane.populate(BaseFormula.createFormulaBuilder().build());

2
designer-realize/src/main/java/com/fr/design/actions/insert/flot/TextBoxFloatAction.java

@ -60,7 +60,7 @@ public class TextBoxFloatAction extends AbstractShapeAction {
return;
}
FloatElement floatElement = new FloatElement("Text");
AdjustWorkBookDefaultStyleUtils.adjustFloat(floatElement);
AdjustWorkBookDefaultStyleUtils.adjustFloatElement(floatElement);
this.startDraw(floatElement);
doWithDrawingFloatElement();
}

Loading…
Cancel
Save