Browse Source

INO-21074 新建决策报表

persist/11.0-arabic
obo 4 months ago
parent
commit
7b714fd69b
  1. 2
      designer-form/src/main/java/com/fr/design/widget/ui/designer/EmptyLayoutPane.java
  2. 8
      designer-form/src/main/java/com/fr/design/widget/ui/designer/NewFormPane.java

2
designer-form/src/main/java/com/fr/design/widget/ui/designer/EmptyLayoutPane.java

@ -20,7 +20,7 @@ public class EmptyLayoutPane extends PredefinedLayoutPane {
BorderFactory.createEmptyBorder(39, 105, 0, 105), BorderFactory.createEmptyBorder(39, 105, 0, 105),
BorderFactory.createDashedBorder(Color.BLACK, 1.0f, 2.0f, 2.0f, true) BorderFactory.createDashedBorder(Color.BLACK, 1.0f, 2.0f, 2.0f, true)
)); ));
UILabel label = new UILabel(Toolkit.i18nText("Fine-Design_New_Empty_Template")); UILabel label = new UILabel(Toolkit.i18nText("Fine-Design_New_Empty_Template"), UILabel.LEFT);
label.setBorder(BorderFactory.createEmptyBorder(0, 78, 30, 0)); label.setBorder(BorderFactory.createEmptyBorder(0, 78, 30, 0));
this.add(newFormIcon, BorderLayout.NORTH); this.add(newFormIcon, BorderLayout.NORTH);

8
designer-form/src/main/java/com/fr/design/widget/ui/designer/NewFormPane.java

@ -1,5 +1,6 @@
package com.fr.design.widget.ui.designer; package com.fr.design.widget.ui.designer;
import com.fr.base.i18n.BidiUtils;
import com.fr.base.iofile.attr.TemplateLayoutIdAttrMark; import com.fr.base.iofile.attr.TemplateLayoutIdAttrMark;
import com.fr.design.DesignerEnvManager; import com.fr.design.DesignerEnvManager;
import com.fr.design.border.UITitledMatteBorder; import com.fr.design.border.UITitledMatteBorder;
@ -62,10 +63,11 @@ public class NewFormPane extends BasicPane {
newFormModel = NewFormModel.getInstance(); newFormModel = NewFormModel.getInstance();
this.setBorder(BorderFactory.createEmptyBorder(10, 10, 0, 0)); this.setBorder(BorderFactory.createEmptyBorder(10, 10, 0, 0));
this.setLayout(FRGUIPaneFactory.createBorderLayout()); this.setLayout(FRGUIPaneFactory.createBorderLayout());
this.add(createModuleListPane(), BorderLayout.WEST); this.add(createModuleListPane(), BorderLayout.LINE_START);
this.add(createTemplateManagePane(), BorderLayout.CENTER); this.add(createTemplateManagePane(), BorderLayout.CENTER);
initWindow(); initWindow();
DesignerCloudURLManager.getInstance().testConnect(); DesignerCloudURLManager.getInstance().testConnect();
BidiUtils.applyOrientationByLocale(this);
} }
private void initWindow() { private void initWindow() {
@ -166,8 +168,8 @@ public class NewFormPane extends BasicPane {
JPanel jPanel = FRGUIPaneFactory.createBorderLayout_S_Pane(); JPanel jPanel = FRGUIPaneFactory.createBorderLayout_S_Pane();
jPanel.setBorder(BorderFactory.createEmptyBorder(0, 10, 0, 0)); jPanel.setBorder(BorderFactory.createEmptyBorder(0, 10, 0, 0));
jPanel.setPreferredSize(new Dimension(1, 129)); jPanel.setPreferredSize(new Dimension(1, 129));
jPanel.add(createNewTemplatePane(), BorderLayout.WEST); jPanel.add(createNewTemplatePane(), BorderLayout.LINE_START);
jPanel.add(createSwitchButtonPane(), BorderLayout.EAST); jPanel.add(createSwitchButtonPane(), BorderLayout.LINE_END);
return jPanel; return jPanel;
} }

Loading…
Cancel
Save