From 343465abcc736ab561958181be0c81d0c16b3919 Mon Sep 17 00:00:00 2001 From: Yvan Date: Mon, 19 Oct 2020 10:57:10 +0800 Subject: [PATCH] =?UTF-8?q?REPORT-41414=20=E6=95=B0=E6=8D=AE=E9=9B=86-?= =?UTF-8?q?=E7=B9=81=E4=BD=93=E8=AE=BE=E8=AE=A1=E5=99=A8=EF=BC=8C=E5=85=B1?= =?UTF-8?q?=E4=BA=AB=E6=95=B0=E6=8D=AE=E9=9B=86=E7=BC=93=E5=AD=98=E5=88=B0?= =?UTF-8?q?=E7=A3=81=E7=9B=98=E8=AE=B0=E5=BD=95=E6=95=B0=E8=BE=93=E5=85=A5?= =?UTF-8?q?=E6=A1=86=E6=B6=88=E5=A4=B1=20=E3=80=90=E9=97=AE=E9=A2=98?= =?UTF-8?q?=E5=8E=9F=E5=9B=A0=E3=80=91=E4=B9=8B=E5=89=8D=E7=9A=84=E4=B8=80?= =?UTF-8?q?=E4=B8=AA=E6=94=B9=E5=8A=A8=E5=B0=86MaxMexRowCountPanel?= =?UTF-8?q?=E4=B8=AD=E7=9A=84UISpinner=E7=BB=99=E6=8B=89=E9=95=BF=E5=BE=97?= =?UTF-8?q?=E8=BF=87=E5=A4=9A=EF=BC=8C=E8=B6=85=E8=BF=87=E4=BA=86=E8=AE=BE?= =?UTF-8?q?=E5=AE=9A=E7=9A=84=E6=9C=80=E5=A4=A7=E5=AE=BD=E5=BA=A6=EF=BC=8C?= =?UTF-8?q?=E5=9B=A0=E6=AD=A4=E8=BE=93=E5=85=A5=E6=A1=86=E6=B2=A1=E8=83=BD?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=20=E3=80=90=E6=94=B9=E5=8A=A8=E6=80=9D?= =?UTF-8?q?=E8=B7=AF=E3=80=91=E8=B0=83=E6=95=B4=E6=8B=89=E9=95=BF=E5=B9=85?= =?UTF-8?q?=E5=BA=A6=EF=BC=8C=E5=8F=A6=E5=A4=96=E6=A0=B9=E6=8D=AE=E5=9B=BD?= =?UTF-8?q?=E9=99=85=E5=8C=96=E7=89=B9=E7=82=B9=E8=B0=83=E6=95=B4=E4=BA=86?= =?UTF-8?q?=E6=9C=80=E5=A4=A7=E5=AE=BD=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../data/tabledata/tabledatapane/MaxMemRowCountPanel.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/designer-base/src/main/java/com/fr/design/data/tabledata/tabledatapane/MaxMemRowCountPanel.java b/designer-base/src/main/java/com/fr/design/data/tabledata/tabledatapane/MaxMemRowCountPanel.java index 13fd60a60d..af2b71a7c6 100644 --- a/designer-base/src/main/java/com/fr/design/data/tabledata/tabledatapane/MaxMemRowCountPanel.java +++ b/designer-base/src/main/java/com/fr/design/data/tabledata/tabledatapane/MaxMemRowCountPanel.java @@ -21,7 +21,7 @@ public class MaxMemRowCountPanel extends UIToolbar { private static final int MAX_IN_MEMORY = 1; private static final String[] CACHE_LIST = {com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Basic_Save_All_Records_In_Memory"), com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Basic_Max_Mem_Row_Count") }; - private static final int MAX_WIDTH = getMaxComBoBoxWidth() > 200 ? 350 : 250; + private static final int MAX_WIDTH = getMaxComBoBoxWidth() > 200 ? 350 : 280; private static final int MAX_COMPONENT_COUNT_OF_MAX_MEMORY = 4; private static int getMaxComBoBoxWidth() { int maxWidth = GraphHelper.getWidth(CACHE_LIST[0]); @@ -73,7 +73,7 @@ public class MaxMemRowCountPanel extends UIToolbar { switchCache = new UIComboBox(CACHE_LIST); switchCache.addActionListener(switchStateL); numberSpinner = new UISpinner(0, Integer.MAX_VALUE, 1); - numberSpinner.setNumberFieldColumns(4); + numberSpinner.setNumberFieldColumns(3); } private void showAllPanel() {