Browse Source

REPORT-2897 9.0设计器修改

去掉空格,放个空的uilabel做对齐
master
MoMeak 8 years ago
parent
commit
313325ee45
  1. 4
      designer/src/com/fr/design/mainframe/ReportFloatPane.java

4
designer/src/com/fr/design/mainframe/ReportFloatPane.java

@ -48,10 +48,10 @@ public class ReportFloatPane extends JPanel {
double p = TableLayout.PREFERRED;
double f = TableLayout.FILL;
double[] columnSize = {p, p, f};
double[] columnSize = {p, p, p, f};
double[] rowSize = {p};
Component[][] components = new Component[][]{
new Component[]{new UILabel(" " + Inter.getLocText("FR-Designer_Add_FloatElement")), emptyLabel, topToolBar},
new Component[]{new UILabel(), new UILabel(Inter.getLocText("FR-Designer_Add_FloatElement")), emptyLabel, topToolBar},
};
JPanel leftTopPane = TableLayoutHelper.createTableLayoutPane(components, rowSize, columnSize);
leftTopPane.setBorder(BorderFactory.createEmptyBorder(10, 4, 0, 13));

Loading…
Cancel
Save