From 52a1805a9ca082efeda6d1e1cada6bac53389860 Mon Sep 17 00:00:00 2001 From: renekton Date: Sat, 17 Aug 2024 18:44:18 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BE=B9=E6=A1=86=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../fr/design/javascript/ExportJavaScriptPane.java | 11 ++++++----- .../com/fr/design/mainframe/ChartPropertyPane.java | 2 +- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/designer-base/src/main/java/com/fr/design/javascript/ExportJavaScriptPane.java b/designer-base/src/main/java/com/fr/design/javascript/ExportJavaScriptPane.java index 4768a88aeb..67f63e8acb 100644 --- a/designer-base/src/main/java/com/fr/design/javascript/ExportJavaScriptPane.java +++ b/designer-base/src/main/java/com/fr/design/javascript/ExportJavaScriptPane.java @@ -72,6 +72,7 @@ import static com.fine.swing.ui.layout.Layouts.cell; import static com.fine.swing.ui.layout.Layouts.column; import static com.fine.swing.ui.layout.Layouts.row; import static com.fine.swing.ui.layout.Layouts.flex; +import static com.fine.theme.utils.FineUIScale.scale; import static com.fine.theme.utils.FineUIUtils.wrapComponentWithTitle; public class ExportJavaScriptPane extends AbstractHyperLinkPane { @@ -136,7 +137,7 @@ public class ExportJavaScriptPane extends AbstractHyperLinkPane(new ExportJSTableModel()); editorPane.setHeaderResizing(false); - editorPane.setPreferredSize(FineUIScale.scale(new Dimension(-1,300))); + editorPane.setPreferredSize(scale(new Dimension(-1,300))); this.add(wrapComponentWithTitle(editorPane, Toolkit.i18nText("Fine-Design_Basic_Export_JS_Template_Other"))); } @@ -301,9 +302,9 @@ public class ExportJavaScriptPane extends AbstractHyperLinkPane