diff --git a/designer-base/src/main/java/com/fr/design/data/datapane/connect/SshPane.java b/designer-base/src/main/java/com/fr/design/data/datapane/connect/SshPane.java index c404078263..4c672479ae 100644 --- a/designer-base/src/main/java/com/fr/design/data/datapane/connect/SshPane.java +++ b/designer-base/src/main/java/com/fr/design/data/datapane/connect/SshPane.java @@ -116,7 +116,7 @@ public class SshPane extends BasicPane { coreCardPane = ReactiveCardPane.create() .addSupplier(NOT_USE_SSH, () -> cell(usingSsh).getComponent()) .addSupplier(USE_SSH, () -> Layouts.column(LayoutConstants.VERTICAL_GAP, - cell(usingSsh), + row(cell(usingSsh)), row( cell(new UILabel(Toolkit.i18nText("Fine-Design_Basic_Host"))).weight(1), cell(ip).weight(5), diff --git a/designer-base/src/main/java/com/fr/design/gui/itree/refreshabletree/TreeRootPane.java b/designer-base/src/main/java/com/fr/design/gui/itree/refreshabletree/TreeRootPane.java index 9b1edf986f..b33d97c3d8 100644 --- a/designer-base/src/main/java/com/fr/design/gui/itree/refreshabletree/TreeRootPane.java +++ b/designer-base/src/main/java/com/fr/design/gui/itree/refreshabletree/TreeRootPane.java @@ -17,6 +17,7 @@ import java.util.List; 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; public class TreeRootPane extends BasicPane { @@ -44,10 +45,10 @@ public class TreeRootPane extends BasicPane { addCheckBoxListener(); this.add(column(LayoutConstants.VERTICAL_GAP, - cell(checkTypeCheckBox), - cell(loadTypeCheckBox), - cell(layerTypeCheckBox), - cell(returnFullPathCheckBox) + row(cell(checkTypeCheckBox)), + row(cell(loadTypeCheckBox)), + row(cell(layerTypeCheckBox)), + row(cell(returnFullPathCheckBox)) ).getComponent()); } diff --git a/designer-base/src/main/java/com/fr/design/gui/style/TextFormatPane.java b/designer-base/src/main/java/com/fr/design/gui/style/TextFormatPane.java index a86bc70e05..a3a1f3f578 100644 --- a/designer-base/src/main/java/com/fr/design/gui/style/TextFormatPane.java +++ b/designer-base/src/main/java/com/fr/design/gui/style/TextFormatPane.java @@ -132,7 +132,7 @@ public class TextFormatPane extends AbstractBasicStylePane implements GlobalName cell(textField), row( cell(new UILabel(Toolkit.i18nText("Fine-Design_Report_Base_Option"))).weight(LEFT_WEIGHT), - cell(roundingBox).weight(RIGHT_WEIGHT) + row(cell(roundingBox)).weight(RIGHT_WEIGHT) ), cell(previewLabel) ).getComponent()); diff --git a/designer-base/src/main/java/com/fr/design/utils/gui/GUICoreUtils.java b/designer-base/src/main/java/com/fr/design/utils/gui/GUICoreUtils.java index ba1c377965..c8bbf74699 100644 --- a/designer-base/src/main/java/com/fr/design/utils/gui/GUICoreUtils.java +++ b/designer-base/src/main/java/com/fr/design/utils/gui/GUICoreUtils.java @@ -93,6 +93,7 @@ import java.util.List; 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; // Noninstantiable utility class public final class GUICoreUtils { @@ -996,7 +997,10 @@ public final class GUICoreUtils { dynamicPane.setVisible(e.getStateChange() == visibleState); } }); - return column(LayoutConstants.VERTICAL_GAP, cell(checkBox), cell(dynamicPane)).getComponent(); + return column(LayoutConstants.VERTICAL_GAP, + row(cell(checkBox)), + cell(dynamicPane) + ).getComponent(); } /** diff --git a/designer-base/src/main/java/com/fr/design/widget/component/NumberEditorValidatePane.java b/designer-base/src/main/java/com/fr/design/widget/component/NumberEditorValidatePane.java index 38cc90db87..d4770a20ea 100644 --- a/designer-base/src/main/java/com/fr/design/widget/component/NumberEditorValidatePane.java +++ b/designer-base/src/main/java/com/fr/design/widget/component/NumberEditorValidatePane.java @@ -87,9 +87,9 @@ public class NumberEditorValidatePane extends JPanel { ).getComponent(); this.add(column(LayoutConstants.VERTICAL_GAP, - cell(allowDecimalsCheckBox), + row(cell(allowDecimalsCheckBox)), cell(limitNumberPane), - cell(allowNegativeCheckBox), + row(cell(allowNegativeCheckBox)), row(10, cell(setMaxValueCheckBox).weight(1.8), cell(maxValueSpinner).weight(3) ), diff --git a/designer-base/src/main/java/com/fr/widgettheme/designer/WidgetThemeDisplayConfigPane.java b/designer-base/src/main/java/com/fr/widgettheme/designer/WidgetThemeDisplayConfigPane.java index 9017a565d4..62f460d8fe 100644 --- a/designer-base/src/main/java/com/fr/widgettheme/designer/WidgetThemeDisplayConfigPane.java +++ b/designer-base/src/main/java/com/fr/widgettheme/designer/WidgetThemeDisplayConfigPane.java @@ -14,6 +14,7 @@ import java.awt.Color; 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; /** * 控件主题显示增强配置窗口 @@ -35,7 +36,7 @@ public class WidgetThemeDisplayConfigPane extends BasicPane { JPanel northPane = FRGUIPaneFactory.createBorderLayout_S_Pane(); widgetEnhance = new UICheckBox(Toolkit.i18nText("Fine-Design_Widget_Enable_Display_Enhance")); widgetEnhance.setSelected(true); - northPane.add(widgetEnhance); + northPane.add(row(cell(widgetEnhance)).getComponent()); JPanel southPane = FRGUIPaneFactory.createBorderLayout_S_Pane(); UILabel label = new UILabel(Toolkit.i18nText("Fine-Design_Widget_Display_Enhance_Tip")); diff --git a/designer-chart/src/main/java/com/fr/design/mainframe/chart/gui/data/ChartDataFilterPane.java b/designer-chart/src/main/java/com/fr/design/mainframe/chart/gui/data/ChartDataFilterPane.java index 1b928c8505..b3f0969909 100644 --- a/designer-chart/src/main/java/com/fr/design/mainframe/chart/gui/data/ChartDataFilterPane.java +++ b/designer-chart/src/main/java/com/fr/design/mainframe/chart/gui/data/ChartDataFilterPane.java @@ -6,6 +6,7 @@ import com.fr.base.chart.chartdata.TopDefinitionProvider; import com.fr.chart.chartattr.ChartCollection; import com.fr.chart.chartattr.Plot; import com.fr.chart.chartdata.TopDefinition; +import com.fr.design.constants.LayoutConstants; import com.fr.design.gui.frpane.AbstractAttrNoScrollPane; import com.fr.design.gui.icheckbox.UICheckBox; import com.fr.design.gui.ilable.UILabel; @@ -226,9 +227,9 @@ public class ChartDataFilterPane extends ThirdTabPane { combineOther = new UICheckBox(Toolkit.i18nText("Fine-Design_Chart_Data_CombineOther")); combineOther.setSelected(true); //默认不显示 - preDataNumPane = column(10, - row(cell(label).weight(1.2), cell(preDataNum).weight(3)), - cell(combineOther) + preDataNumPane = column(LayoutConstants.VERTICAL_GAP, + row(cell(label).weight(LayoutConstants.LEFT_WEIGHT), cell(preDataNum).weight(LayoutConstants.RIGHT_WEIGHT)), + row(cell(combineOther)) ).with(it -> it.setBorder(new ScaledEmptyBorder(0, 10, 0, 0))).getComponent(); preDataNumPane.setVisible(false); notShowNull = new UICheckBox(Toolkit.i18nText("Fine-Design_Chart_Data_Not_Show_Cate")); @@ -243,13 +244,13 @@ public class ChartDataFilterPane extends ThirdTabPane { presentPane = row( cell( new UILabel(Toolkit.i18nText("Fine-Design_Chart_Style_Present")) - ).weight(1.2), cell(present).weight(3) + ).weight(LayoutConstants.LEFT_WEIGHT), cell(present).weight(LayoutConstants.RIGHT_WEIGHT) ).getComponent(); - return column(10, - cell(onlyPreData), + return column(LayoutConstants.VERTICAL_GAP, + row(cell(onlyPreData)), cell(preDataNumPane), - cell(notShowNull), + row(cell(notShowNull)), cell(presentPane) ).getComponent(); } @@ -385,9 +386,9 @@ public class ChartDataFilterPane extends ThirdTabPane { combineOther = new UICheckBox(Toolkit.i18nText("Fine-Design_Chart_Data_CombineOther")); combineOther.setSelected(true); //默认不显示 - preDataNumPane = column(10, - row(cell(label).weight(1.2), cell(preDataNum).weight(3)), - cell(combineOther) + preDataNumPane = column(LayoutConstants.VERTICAL_GAP, + row(cell(label).weight(LayoutConstants.LEFT_WEIGHT), cell(preDataNum).weight(LayoutConstants.RIGHT_WEIGHT)), + row(cell(combineOther)) ).with(it -> it.setBorder(new ScaledEmptyBorder(0, 10, 0, 0))).getComponent(); preDataNumPane.setVisible(false); notShowNull = new UICheckBox(Toolkit.i18nText("Fine-Design_Chart_Data_Not_Show_Series")); @@ -402,13 +403,13 @@ public class ChartDataFilterPane extends ThirdTabPane { presentPane = row( cell( new UILabel(Toolkit.i18nText("Fine-Design_Chart_Style_Present")) - ).weight(1.2), cell(present).weight(3) + ).weight(LayoutConstants.LEFT_WEIGHT), cell(present).weight(LayoutConstants.RIGHT_WEIGHT) ).getComponent(); - return column(10, - cell(onlyPreData), + return column(LayoutConstants.VERTICAL_GAP, + row(cell(onlyPreData)), cell(preDataNumPane), - cell(notShowNull), + row(cell(notShowNull)), cell(presentPane) ).getComponent(); } diff --git a/designer-form/src/main/java/com/fr/design/widget/ui/designer/mobile/component/MobileTextFieldInputSettingPane.java b/designer-form/src/main/java/com/fr/design/widget/ui/designer/mobile/component/MobileTextFieldInputSettingPane.java index 28a7db4aae..fa8674bca0 100644 --- a/designer-form/src/main/java/com/fr/design/widget/ui/designer/mobile/component/MobileTextFieldInputSettingPane.java +++ b/designer-form/src/main/java/com/fr/design/widget/ui/designer/mobile/component/MobileTextFieldInputSettingPane.java @@ -53,13 +53,13 @@ public class MobileTextFieldInputSettingPane extends BasicBeanPane it.setBorder(new ScaledEmptyBorder(0, 0, 10, 0)) ).getComponent(); } diff --git a/designer-realize/src/main/java/com/fr/design/mainframe/cell/settingpane/CellOtherSetPane.java b/designer-realize/src/main/java/com/fr/design/mainframe/cell/settingpane/CellOtherSetPane.java index e80002e52c..09e6ee22bb 100644 --- a/designer-realize/src/main/java/com/fr/design/mainframe/cell/settingpane/CellOtherSetPane.java +++ b/designer-realize/src/main/java/com/fr/design/mainframe/cell/settingpane/CellOtherSetPane.java @@ -208,10 +208,10 @@ public class CellOtherSetPane extends AbstractCellAttrPane { autoBG.add(radioButton); } return Layouts.column(LayoutConstants.VERTICAL_GAP, - cell(defaultAutoRadioButton), - cell(noAutoRadioButton), - cell(autoHeightRadioButton), - cell(autoWidthRadioButton) + row(cell(defaultAutoRadioButton)), + row(cell(noAutoRadioButton)), + row(cell(autoHeightRadioButton)), + row(cell(autoWidthRadioButton)) ).with(it -> it.setBorder(new ScaledEmptyBorder(0, 0, LayoutConstants.VERTICAL_GAP, 0)) ).getComponent(); } @@ -356,15 +356,15 @@ public class CellOtherSetPane extends AbstractCellAttrPane { overflowPane = ReactiveCardPane.create() .addSupplier("empty", () -> column(LayoutConstants.VERTICAL_GAP, - cell(textOverflowCheckBox) + row(cell(textOverflowCheckBox)) ).getComponent()) .addSupplier("showChar", () -> column(LayoutConstants.VERTICAL_GAP, - cell(textOverflowCheckBox), + row(cell(textOverflowCheckBox)), row(cell(showPartLabel).weight(1.2), cell(showPartComboBox).weight(1.4), flex(0.1), cell(numberLabel).weight(0.5), cell(showCharNums).weight(1.0)), row(cell(hideTypeLabel).weight(1.2), cell(textOverflowTypeComboBox).weight(3.0)) ).getComponent()) .addSupplier("showCell", () -> column(LayoutConstants.VERTICAL_GAP, - cell(textOverflowCheckBox), + row(cell(textOverflowCheckBox)), row(cell(showPartLabel).weight(1.2), cell(showPartComboBox).weight(3.0)), row(cell(hideTypeLabel).weight(1.2), cell(textOverflowTypeComboBox).weight(3.0)) ).getComponent()); @@ -403,9 +403,9 @@ public class CellOtherSetPane extends AbstractCellAttrPane { printAndExportContent = new UICheckBox(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Report_CellWrite_Print_Content")); printAndExportBackground = new UICheckBox(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Report_CellWrite_Print_Background")); return Layouts.column(LayoutConstants.VERTICAL_GAP, - cell(previewCellContent), - cell(printAndExportContent), - cell(printAndExportBackground) + row(cell(previewCellContent)), + row(cell(printAndExportContent)), + row(cell(printAndExportBackground)) ).getComponent(); } @@ -424,22 +424,22 @@ public class CellOtherSetPane extends AbstractCellAttrPane { currentPageFixedRowDataTipLabel.setForeground(TIPS_FONT_COLOR); return Layouts.column( - cell(pageBeforeRowCheckBox), + row(cell(pageBeforeRowCheckBox)), fix(LayoutConstants.VERTICAL_GAP), - cell(pageAfterRowCheckBox), + row(cell(pageAfterRowCheckBox)), fix(LayoutConstants.VGAP_SMALL + LayoutConstants.VERTICAL_GAP), - cell(pageBeforeColumnCheckBox), + row(cell(pageBeforeColumnCheckBox)), fix(LayoutConstants.VERTICAL_GAP), - cell(pageAfterColumnCheckBox), + row(cell(pageAfterColumnCheckBox)), fix(LayoutConstants.VGAP_SMALL + LayoutConstants.VERTICAL_GAP), - cell(canBreakOnPaginateCheckBox), + row(cell(canBreakOnPaginateCheckBox)), fix(LayoutConstants.VERTICAL_GAP), - cell(repeatCheckBox), + row(cell(repeatCheckBox)), fix(LayoutConstants.VGAP_SMALL + LayoutConstants.VERTICAL_GAP), - cell(pageFixedRowDataCheckBox), + row(cell(pageFixedRowDataCheckBox)), fix(LayoutConstants.VERTICAL_GAP), cell(currentPageFixedRowDataTipLabel) ).with(it -> it.setBorder(new ScaledEmptyBorder(0, 0, LayoutConstants.VERTICAL_GAP, 0)) diff --git a/designer-realize/src/main/java/com/fr/design/report/ExcelExportPane.java b/designer-realize/src/main/java/com/fr/design/report/ExcelExportPane.java index 967816998c..658b659480 100644 --- a/designer-realize/src/main/java/com/fr/design/report/ExcelExportPane.java +++ b/designer-realize/src/main/java/com/fr/design/report/ExcelExportPane.java @@ -113,11 +113,11 @@ public class ExcelExportPane extends BasicPane { }); //内容保护 JPanel contextProtectPane = column(LayoutConstants.VERTICAL_GAP, - cell(fileProtect), + row(cell(fileProtect)), cell(passwordWritePane), - cell(writeProtect), + row(cell(writeProtect)), cell(writeProtectPane), - cell(exportWaterMark), + row(cell(exportWaterMark)), row(cell(uiLabel), cell(actionLabel)) ).getComponent(); diff --git a/designer-realize/src/main/java/com/fr/design/report/ExportUniversalPane.java b/designer-realize/src/main/java/com/fr/design/report/ExportUniversalPane.java index 32963f1d10..cd8758d978 100644 --- a/designer-realize/src/main/java/com/fr/design/report/ExportUniversalPane.java +++ b/designer-realize/src/main/java/com/fr/design/report/ExportUniversalPane.java @@ -13,6 +13,7 @@ import com.fr.transaction.WorkerFacade; import java.awt.BorderLayout; 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; /** * 通用 @@ -45,7 +46,7 @@ public class ExportUniversalPane extends BasicPane { this.add( FineUIUtils.wrapComponentWithTitle((column(10, - cell(passwordSupportFormula) + row(cell(passwordSupportFormula)) ).getComponent()), com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Report_Universal_Export_Config"))); } diff --git a/designer-realize/src/main/java/com/fr/design/report/ReportEnginePane.java b/designer-realize/src/main/java/com/fr/design/report/ReportEnginePane.java index 56e2398b35..33a3656979 100644 --- a/designer-realize/src/main/java/com/fr/design/report/ReportEnginePane.java +++ b/designer-realize/src/main/java/com/fr/design/report/ReportEnginePane.java @@ -12,8 +12,6 @@ import com.fr.design.gui.ilable.FRExplainLabel; import com.fr.design.gui.ilable.UILabel; import com.fr.design.i18n.Toolkit; import com.fr.design.layout.FRGUIPaneFactory; -import com.fr.design.layout.TableLayout; -import com.fr.design.layout.TableLayoutHelper; import com.fr.design.locale.impl.LineEngineMark; import com.fr.design.mainframe.DesignerContext; import com.fr.design.widget.FRWidgetFactory; @@ -26,7 +24,6 @@ import com.fr.report.worksheet.WorkSheet; import com.fanruan.product.ProductConstants; import javax.swing.AbstractButton; -import javax.swing.BorderFactory; import javax.swing.ButtonGroup; import javax.swing.JLabel; import javax.swing.JOptionPane; @@ -34,7 +31,6 @@ import javax.swing.JPanel; import javax.swing.JRadioButton; import java.awt.BorderLayout; import java.awt.Color; -import java.awt.Component; import java.awt.Desktop; import java.awt.Dimension; import java.awt.event.ActionEvent; @@ -53,7 +49,6 @@ import static com.fine.swing.ui.layout.Layouts.row; import static com.fine.swing.ui.layout.Layouts.box; import static com.fine.swing.ui.layout.Layouts.fix; import static com.fine.theme.utils.FineUIUtils.wrapComponentWithTitle; -import static com.fine.theme.utils.FineUIScale.scale; /** * @author fly.li @@ -113,7 +108,7 @@ public class ReportEnginePane extends BasicBeanPane { clientPaging = new UICheckBox(Toolkit.i18nText("Fine-Design_Report_Enable_Client_Page")); clientPaging.setSelected(false); clientPaging.addActionListener(new SelectActionListener(clientPaging, outPagingEngineSelectPane)); - reportEnginePane.add(clientPaging); + reportEnginePane.add(row(cell(clientPaging)).getComponent()); return reportEnginePane; } diff --git a/designer-realize/src/main/java/com/fr/design/report/WordExportPane.java b/designer-realize/src/main/java/com/fr/design/report/WordExportPane.java index 5654cfc16c..a748c6e7a0 100644 --- a/designer-realize/src/main/java/com/fr/design/report/WordExportPane.java +++ b/designer-realize/src/main/java/com/fr/design/report/WordExportPane.java @@ -60,7 +60,10 @@ public class WordExportPane extends BasicPane { wordLineLabel.setForeground(FlatUIUtils.getUIColor("Label.tipColor", Color.gray)); JPanel exportSettingPane = new JPanel(new BorderLayout()); - exportSettingPane.add(column(LayoutConstants.VERTICAL_GAP, cell(isExportAsTable), cell(wordLineLabel)).getComponent()); + exportSettingPane.add(column(LayoutConstants.VERTICAL_GAP, + row(cell(isExportAsTable)), + cell(wordLineLabel) + ).getComponent()); // 编辑保护 writeProtect = new UICheckBox(Toolkit.i18nText("Fine-Design_Report_Export_Write_Protect"), false); // 编辑保护勾选后展示的内容 @@ -102,9 +105,9 @@ public class WordExportPane extends BasicPane { }); //内容保护 JPanel contextProtectPane = column(10, - cell(writeProtect), + row(cell(writeProtect)), cell(writeProtectPane), - cell(exportWaterMark), + row(cell(exportWaterMark)), row(cell(uiLabel), cell(actionLabel)) ).getComponent(); JPanel centerPanel = column(LayoutConstants.VERTICAL_GAP, diff --git a/designer-realize/src/main/java/com/fr/design/report/mobile/ReportMobileTemplateSettingsPane.java b/designer-realize/src/main/java/com/fr/design/report/mobile/ReportMobileTemplateSettingsPane.java index 78872c9169..51e21406ee 100644 --- a/designer-realize/src/main/java/com/fr/design/report/mobile/ReportMobileTemplateSettingsPane.java +++ b/designer-realize/src/main/java/com/fr/design/report/mobile/ReportMobileTemplateSettingsPane.java @@ -14,6 +14,7 @@ import java.awt.BorderLayout; 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.theme.utils.FineUIUtils.wrapComponentWithTitle; /** @@ -40,7 +41,7 @@ public class ReportMobileTemplateSettingsPane extends BasicBeanPane { @@ -43,7 +44,7 @@ public class CheckBoxGroupDefinePane extends FieldEditorDefinePane e public JPanel setValidatePane(){ JPanel otherContentPane = column(LayoutConstants.VERTICAL_GAP).getComponent(); - otherContentPane.add(directWriteCheckBox); + otherContentPane.add(row(cell(directWriteCheckBox)).getComponent()); return otherContentPane; } diff --git a/designer-realize/src/main/java/com/fr/design/widget/ui/FieldEditorDefinePane.java b/designer-realize/src/main/java/com/fr/design/widget/ui/FieldEditorDefinePane.java index f5a12312fb..c2f60f37fd 100644 --- a/designer-realize/src/main/java/com/fr/design/widget/ui/FieldEditorDefinePane.java +++ b/designer-realize/src/main/java/com/fr/design/widget/ui/FieldEditorDefinePane.java @@ -167,7 +167,7 @@ public abstract class FieldEditorDefinePane extends Abstr errorTipPane.setVisible(!selected); }); validatePane.add(column(LayoutConstants.VERTICAL_GAP, - cell(allowBlankCheckBox), + row(cell(allowBlankCheckBox)), cell(errorTipPane) ).getComponent()); diff --git a/designer-realize/src/main/java/com/fr/design/widget/ui/IframeEditorDefinePane.java b/designer-realize/src/main/java/com/fr/design/widget/ui/IframeEditorDefinePane.java index a617e2a310..fec21614d7 100644 --- a/designer-realize/src/main/java/com/fr/design/widget/ui/IframeEditorDefinePane.java +++ b/designer-realize/src/main/java/com/fr/design/widget/ui/IframeEditorDefinePane.java @@ -56,8 +56,8 @@ public class IframeEditorDefinePane extends AbstractDataModify { srcTextField = new UITextField(); JPanel contentPane = column(LayoutConstants.VERTICAL_GAP, - cell(horizontalCheck), - cell(verticalCheck), + row(cell(horizontalCheck)), + row(cell(verticalCheck)), row( cell(new UILabel(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Form_Form_Url"))).weight(LEFT_WEIGHT), cell(srcTextField).weight(RIGHT_WEIGHT) diff --git a/designer-realize/src/main/java/com/fr/design/widget/ui/MultiFileEditorPane.java b/designer-realize/src/main/java/com/fr/design/widget/ui/MultiFileEditorPane.java index 2aea9d17d9..8d4572d7b1 100644 --- a/designer-realize/src/main/java/com/fr/design/widget/ui/MultiFileEditorPane.java +++ b/designer-realize/src/main/java/com/fr/design/widget/ui/MultiFileEditorPane.java @@ -48,7 +48,7 @@ public class MultiFileEditorPane extends FieldEditorDefinePane fileSizePane.add(new UILabel(" KB"), BorderLayout.EAST); center.add(column(LayoutConstants.VERTICAL_GAP, - cell(singleFileCheckBox), + row(cell(singleFileCheckBox)), row( cell(fileTypeLabel).weight(LEFT_WEIGHT), cell(acceptType).weight(RIGHT_WEIGHT) ), diff --git a/designer-realize/src/main/java/com/fr/design/widget/ui/WriteUnableRepeatEditorPane.java b/designer-realize/src/main/java/com/fr/design/widget/ui/WriteUnableRepeatEditorPane.java index a65bc043fd..9846742ae1 100644 --- a/designer-realize/src/main/java/com/fr/design/widget/ui/WriteUnableRepeatEditorPane.java +++ b/designer-realize/src/main/java/com/fr/design/widget/ui/WriteUnableRepeatEditorPane.java @@ -32,7 +32,7 @@ public abstract class WriteUnableRepeatEditorPane