Browse Source

Merge pull request #1938 in DESIGN/design from final/10.0 to release/10.0

* commit '0d38184173442ac749b3153f795551fadac00e12':
  REPORT-36310【冒烟】决策报表新建模板,模板像素的位置不在正中间
feature/big-screen
superman 4 years ago
parent
commit
20e05bea70
  1. 5
      designer-form/src/main/java/com/fr/design/mainframe/FormArea.java

5
designer-form/src/main/java/com/fr/design/mainframe/FormArea.java

@ -171,9 +171,9 @@ public class FormArea extends JComponent implements ScrollRulerComponent {
double f = TableLayout.FILL;
double p = TableLayout.PREFERRED;
double[] rowSize = {f};
double[] columnSize = {p, f, p, p, p, p, p, p};
double[] columnSize = {p, f, p, p, p, p, p, f, p};
UILabel tipsPane = new UILabel("form");
tipsPane.setPreferredSize(new Dimension(200, 0));
tipsPane.setPreferredSize(new Dimension(375, 0));
widthPane = new UINumberField();
widthPane.setPreferredSize(new Dimension(60, 0));
heightPane = new UINumberField();
@ -187,6 +187,7 @@ public class FormArea extends JComponent implements ScrollRulerComponent {
new UILabel(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Form_Indent_Pixel")),
new UILabel("x"), heightPane,
new UILabel(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Form_Indent_Pixel")),
new UILabel(),
slidePane}}, rowSize, columnSize, RESIZE_PANE_GAP);
this.add(FormRulerLayout.BOTTOM, resizePane);
setWidgetsConfig();

Loading…
Cancel
Save