Browse Source

修改工具类

bugfix/10.0
Hades 6 years ago
parent
commit
86bb638de4
  1. 4
      designer-base/src/main/java/com/fr/design/widget/FRWidgetFactory.java

4
designer-base/src/main/java/com/fr/design/widget/FRWidgetFactory.java

@ -44,8 +44,8 @@ public class FRWidgetFactory {
* @return com.fr.design.gui.ilable.UILabel
*/
public static UILabel createLineWrapLabel(String text, int lineWidth, int horizontalAlignment) {
UILabel label = new UILabel(text, horizontalAlignment);
UIComponentUtils.setLineWrap(label, lineWidth);
UILabel label = createLineWrapLabel(text, lineWidth);
label.setHorizontalAlignment(horizontalAlignment);
return label;
}
}

Loading…
Cancel
Save