Browse Source

REPORT-45441 聚合报表-设计-图表块-名称功能描述优化

research/11.0
Henry.Wang 4 years ago
parent
commit
ad8b0577f4
  1. 8
      designer-base/src/main/java/com/fr/design/widget/WidgetBoundsPaneFactory.java

8
designer-base/src/main/java/com/fr/design/widget/WidgetBoundsPaneFactory.java

@ -22,18 +22,13 @@ public class WidgetBoundsPaneFactory {
public enum NameAttribute {
//默认的名称
DEFAULT(),
DEFAULT(Toolkit.i18nText("Fine-Design_Basic_Component_Position"), Toolkit.i18nText("Fine-Design_Basic_Component_Size")),
//控件对应的名称
WIDGET(Toolkit.i18nText("Fine-Design_Basic_Widget_Position"), Toolkit.i18nText("Fine-Design_Basic_Widget_Size"));
private String positionName;
private String sizeName;
NameAttribute() {
this.positionName = Toolkit.i18nText("Fine-Design_Basic_Component_Position");
this.sizeName = Toolkit.i18nText("Fine-Design_Basic_Component_Size");
}
NameAttribute(String positionName, String sizeName) {
this.positionName = positionName;
this.sizeName = sizeName;
@ -66,6 +61,7 @@ public class WidgetBoundsPaneFactory {
boundsPane.add(panel);
return new UIExpandablePane(Toolkit.i18nText("Fine-Design_Form_Coords_And_Size"), 280, 24, boundsPane);
}
public static JPanel createRightPane(Component com1, Component com2) {
double f = TableLayout.FILL;
double p = TableLayout.PREFERRED;

Loading…
Cancel
Save