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
public NameableCreator[] createNameableCreators() {
return new NameableCreator[]{new CellStyleNameObjectCreator("新样式", PredefinedCellStyle.class,
CustomPredefinedStylePane.class)};
return new NameableCreator[]{new CellStyleNameObjectCreator(Toolkit.i18nText("Fine-Design_Predefined_Cell_New_Style"),
PredefinedCellStyle.class, CustomPredefinedStylePane.class)};
}
@Override
protected String title4PopupWindow() {
return "单元格样式设置面板";
return StringUtils.EMPTY;
}
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);
if (imageBackground.getImage() != null) {
previewPane.setImageWithSuffix(imageBackground.getImageWithSuffix());
}
if (imageBackground.getImage() != null) {
previewPane.setImage(imageBackground.getImage());
}

Loading…
Cancel
Save