From 5e570cbbf13c0ae61f8a4a23ce659b55dc19ffcb Mon Sep 17 00:00:00 2001 From: plough Date: Mon, 3 Dec 2018 10:36:46 +0800 Subject: [PATCH] =?UTF-8?q?DEC-5580=20=E3=80=9010.0.2=E8=BF=AD=E4=BB=A3?= =?UTF-8?q?=E9=AA=8C=E6=94=B6=E3=80=91=E3=80=90=E5=85=A8=E5=B1=80=E6=B0=B4?= =?UTF-8?q?=E5=8D=B0=E3=80=91=E8=AE=BE=E8=AE=A1=E5=99=A8=E5=AD=97=E5=8F=B7?= =?UTF-8?q?=E5=8F=AF=E9=80=89=E8=8C=83=E5=9B=B4=E4=B8=8E=E5=B9=B3=E5=8F=B0?= =?UTF-8?q?=E4=B8=8D=E7=BB=9F=E4=B8=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/fr/design/report/WatermarkPane.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/designer-base/src/main/java/com/fr/design/report/WatermarkPane.java b/designer-base/src/main/java/com/fr/design/report/WatermarkPane.java index 95e791e0f3..4b3bda6719 100644 --- a/designer-base/src/main/java/com/fr/design/report/WatermarkPane.java +++ b/designer-base/src/main/java/com/fr/design/report/WatermarkPane.java @@ -29,6 +29,11 @@ import java.awt.event.ItemListener; * Created by plough on 2018/5/15. */ public class WatermarkPane extends BasicPane { + private static final Integer[] FONT_SIZES = { + 6, 8, 9, 10, 11, 12, 13, 14, 16, + 18, 20, 22, 24, 26, 28, 30, 32, 34, + 36, 38, 40, 48, 64, 72, 128 + }; private static final int MAX_WIDTH = 160; @@ -97,7 +102,7 @@ public class WatermarkPane extends BasicPane { protected UIScrollPane initRightPane(){ formulaPane = new TinyFormulaPane(); - fontSizeComboBox = new UIComboBox(FRFontPane.FONT_SIZES); + fontSizeComboBox = new UIComboBox(FONT_SIZES); JPanel fontSizeTypePane = new JPanel(new BorderLayout(10,0)); fontSizeTypePane.add(fontSizeComboBox, BorderLayout.CENTER);