Browse Source

代码修改

research/11.0
kerry 4 years ago
parent
commit
a605e33b6b
  1. 6
      designer-base/src/main/java/com/fr/design/mainframe/predefined/ui/detail/CellStyleListControlPane.java
  2. 3
      designer-base/src/main/java/com/fr/design/mainframe/predefined/ui/detail/background/ImageDetailPane.java

6
designer-base/src/main/java/com/fr/design/mainframe/predefined/ui/detail/CellStyleListControlPane.java

@ -83,13 +83,13 @@ public class CellStyleListControlPane extends JListControlPane {
@Override @Override
public NameableCreator[] createNameableCreators() { public NameableCreator[] createNameableCreators() {
return new NameableCreator[]{new CellStyleNameObjectCreator("新样式", PredefinedCellStyle.class, return new NameableCreator[]{new CellStyleNameObjectCreator(Toolkit.i18nText("Fine-Design_Predefined_Cell_New_Style"),
CustomPredefinedStylePane.class)}; PredefinedCellStyle.class, CustomPredefinedStylePane.class)};
} }
@Override @Override
protected String title4PopupWindow() { protected String title4PopupWindow() {
return "单元格样式设置面板"; return StringUtils.EMPTY;
} }
protected void initComponentPane() { protected void initComponentPane() {

3
designer-base/src/main/java/com/fr/design/mainframe/predefined/ui/detail/background/ImageDetailPane.java

@ -174,9 +174,6 @@ public class ImageDetailPane extends AbstractBackgroundDetailPane<ImageBackgroun
previewPane.setImageStyle(ImageDetailPane.this.imageStyle); previewPane.setImageStyle(ImageDetailPane.this.imageStyle);
if (imageBackground.getImage() != null) { if (imageBackground.getImage() != null) {
previewPane.setImageWithSuffix(imageBackground.getImageWithSuffix()); previewPane.setImageWithSuffix(imageBackground.getImageWithSuffix());
}
if (imageBackground.getImage() != null) {
previewPane.setImage(imageBackground.getImage()); previewPane.setImage(imageBackground.getImage());
} }

Loading…
Cancel
Save