From af88e1248921983c81c443f41843baf067294a59 Mon Sep 17 00:00:00 2001 From: "Leo.Qin" Date: Tue, 26 Mar 2024 11:48:01 +0800 Subject: [PATCH] =?UTF-8?q?REPORT-116550=20=E6=8E=A7=E4=BB=B6=E5=A2=9E?= =?UTF-8?q?=E5=BC=BA=E6=98=BE=E7=A4=BA=EF=BC=8C=E8=AE=BE=E7=BD=AE=E5=9C=86?= =?UTF-8?q?=E8=A7=92=E5=B1=9E=E6=80=A7=E5=90=8E=E6=97=A0=E6=95=88,?= =?UTF-8?q?=E5=9C=86=E8=A7=92=E8=AE=BE=E7=BD=AE=E6=A1=86=E6=89=8B=E5=8A=A8?= =?UTF-8?q?=E8=BE=93=E5=85=A5=E6=95=B0=E5=AD=97=E5=90=8E=EF=BC=8C=E9=9C=80?= =?UTF-8?q?=E8=A6=81=E6=8C=89=E5=9B=9E=E8=BD=A6=E6=89=8D=E8=83=BD=E4=BF=9D?= =?UTF-8?q?=E5=AD=98=20=E3=80=90=E9=97=AE=E9=A2=98=E5=8E=9F=E5=9B=A0?= =?UTF-8?q?=E3=80=91=E4=BA=A4=E4=BA=92=E9=97=AE=E9=A2=98=E3=80=82=E4=B9=8B?= =?UTF-8?q?=E5=89=8D=E4=BD=BF=E7=94=A8=E7=9A=84UIBoundSpinner=EF=BC=8C?= =?UTF-8?q?=E5=88=87=E6=8D=A2=E9=9D=A2=E6=9D=BF=E5=A4=B1=E7=84=A6=E6=97=B6?= =?UTF-8?q?=E4=B8=8D=E4=BC=9A=E8=A7=A6=E5=8F=91=E4=BF=AE=E6=94=B9=20?= =?UTF-8?q?=E3=80=90=E6=94=B9=E5=8A=A8=E6=80=9D=E8=B7=AF=E3=80=91=E4=BA=A7?= =?UTF-8?q?=E5=93=81=E7=A1=AE=E8=AE=A4=E4=BF=AE=E6=94=B9=E4=BA=A4=E4=BA=92?= =?UTF-8?q?=E3=80=82=E6=94=B9=E4=B8=BAUISpinner=E7=BB=84=E4=BB=B6=EF=BC=8C?= =?UTF-8?q?=E5=A4=B1=E7=84=A6=E6=97=B6=E8=A7=A6=E5=8F=91=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/fr/design/widgettheme/BaseStyleSettingPane.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/designer-form/src/main/java/com/fr/design/widgettheme/BaseStyleSettingPane.java b/designer-form/src/main/java/com/fr/design/widgettheme/BaseStyleSettingPane.java index 7460ee65c8..a06a872bf1 100644 --- a/designer-form/src/main/java/com/fr/design/widgettheme/BaseStyleSettingPane.java +++ b/designer-form/src/main/java/com/fr/design/widgettheme/BaseStyleSettingPane.java @@ -14,6 +14,7 @@ import com.fr.design.gui.ibutton.UIToggleButton; import com.fr.design.gui.icombobox.LineComboBox; import com.fr.design.gui.icombobox.UIComboBox; import com.fr.design.gui.ilable.UILabel; +import com.fr.design.gui.ispinner.UISpinner; import com.fr.design.gui.style.FRFontPane; import com.fr.design.i18n.Toolkit; import com.fr.design.layout.FRGUIPaneFactory; @@ -22,7 +23,6 @@ import com.fr.design.layout.TableLayoutHelper; import com.fr.design.mainframe.JTemplate; import com.fr.design.style.color.NewColorSelectBox; import com.fr.design.utils.DesignUtils; -import com.fr.design.widget.ui.designer.component.UIBoundSpinner; import com.fr.form.ui.Widget; import com.fr.general.FRFont; import com.fr.general.IOUtils; @@ -72,7 +72,7 @@ public abstract class BaseStyleSettingPane extends BasicBeanPa */ protected NewColorSelectBox borderColorSelectBox; // 圆角边框 - protected UIBoundSpinner borderRadiusSpinner; + protected UISpinner borderRadiusSpinner; // 字体详细设置 protected FRFontPane frFontPane; // 按钮背景设置 @@ -358,7 +358,7 @@ public abstract class BaseStyleSettingPane extends BasicBeanPa private void initBorderPane() { lineComboBox = new LineComboBox(WidgetThemeDisplayConstants.BORDER_LINE_STYLE_ARRAY); borderColorSelectBox = new NewColorSelectBox(WidgetThemeDisplayConstants.THEME_WIDGET_COMPONENT_WIDTH, true); - borderRadiusSpinner = new UIBoundSpinner(0, Integer.MAX_VALUE, 1); + borderRadiusSpinner = new UISpinner(0, Integer.MAX_VALUE, 1); lineComboBox.addItemListener(e -> borderColorSelectBox.setVisible(!Integer.valueOf(0).equals(e.getItem()))); } }