diff --git a/designer-form/src/main/java/com/fr/design/designer/creator/XWParameterLayout.java b/designer-form/src/main/java/com/fr/design/designer/creator/XWParameterLayout.java index fc01aefaa9..a41ec46f6f 100644 --- a/designer-form/src/main/java/com/fr/design/designer/creator/XWParameterLayout.java +++ b/designer-form/src/main/java/com/fr/design/designer/creator/XWParameterLayout.java @@ -43,6 +43,16 @@ public class XWParameterLayout extends XWAbsoluteLayout { super(widget, initSize); } + @Override + public void refreshBorderAndBackgroundStylePreviewEffect() { + WParameterLayout data = toData(); + if (data != null) { + Background background = data.getBackground(); + setBackground4Painting(background, 1.0); + repaint(); + } + } + /** * 初始化尺寸 * @return 尺寸 @@ -235,7 +245,7 @@ public class XWParameterLayout extends XWAbsoluteLayout { * */ public void firePropertyChange(){ - + refreshBorderAndBackgroundStylePreviewEffect(); } @Override