Browse Source

REPORT-42238 【10.0.13】JDK11设计器图标模糊问题优化

单独提交到release
feature/big-screen
Yvan 4 years ago
parent
commit
0c3ea0927e
  1. 4
      designer-base/src/main/java/com/fr/design/data/BasicTableDataTreePane.java
  2. 4
      designer-base/src/main/java/com/fr/design/data/datapane/TableDataTreePane.java
  3. 2
      designer-realize/src/main/java/com/fr/design/actions/cell/style/ReportFontForegroundAction.java

4
designer-base/src/main/java/com/fr/design/data/BasicTableDataTreePane.java

@ -398,7 +398,7 @@ public abstract class BasicTableDataTreePane extends DockingView implements Resp
public PreviewTableDataAction(TableDataTree dataTree) { public PreviewTableDataAction(TableDataTree dataTree) {
this.setName(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Basic_Preview")); this.setName(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Basic_Preview"));
this.setMnemonic('p'); this.setMnemonic('p');
this.setSmallIcon(BaseUtils.readIcon(IconPathConstants.PREVIEW_ICON_PATH)); this.setSmallIcon("/com/fr/design/images/m_file/preview");
this.dataTree = dataTree; this.dataTree = dataTree;
} }
@ -437,7 +437,7 @@ public abstract class BasicTableDataTreePane extends DockingView implements Resp
public ConnectionTableAction() { public ConnectionTableAction() {
this.setName(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Basic_Server_Define_Data_Connection")); this.setName(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Basic_Server_Define_Data_Connection"));
this.setMnemonic('D'); this.setMnemonic('D');
this.setSmallIcon(BaseUtils.readIcon(IconPathConstants.TD_CONNECTION_ICON_PATH)); this.setSmallIcon("/com/fr/design/images/m_web/connection");
} }
} }

4
designer-base/src/main/java/com/fr/design/data/datapane/TableDataTreePane.java

@ -247,7 +247,7 @@ public class TableDataTreePane extends BasicTableDataTreePane {
public EditAction() { public EditAction() {
this.setName(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Basic_Edit")); this.setName(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Basic_Edit"));
this.setMnemonic('E'); this.setMnemonic('E');
this.setSmallIcon(BaseUtils.readIcon(IconPathConstants.TD_EDIT_ICON_PATH)); this.setSmallIcon("/com/fr/design/images/control/edit");
} }
public void actionPerformed(ActionEvent e) { public void actionPerformed(ActionEvent e) {
@ -265,7 +265,7 @@ public class TableDataTreePane extends BasicTableDataTreePane {
public RemoveAction() { public RemoveAction() {
this.setName(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Basic_Remove")); this.setName(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Basic_Remove"));
this.setMnemonic('R'); this.setMnemonic('R');
this.setSmallIcon(BaseUtils.readIcon(IconPathConstants.TD_REMOVE_ICON_PATH)); this.setSmallIcon("/com/fr/design/images/control/remove");
} }
@Override @Override

2
designer-realize/src/main/java/com/fr/design/actions/cell/style/ReportFontForegroundAction.java

@ -63,4 +63,4 @@ public class ReportFontForegroundAction extends AbstractStyleAction implements C
return (JComponent) object; return (JComponent) object;
} }
} }

Loading…
Cancel
Save