|
|
|
@ -176,8 +176,8 @@ public class ElementCaseDefinePane extends MobileWidgetDefinePane {
|
|
|
|
|
this.allowFullCheckBox.setSelected(elementCaseEditor.isAllowFullScreen()); |
|
|
|
|
this.functionalWhenUnactivatedCheckBox.setSelected(!elementCaseEditor.isFunctionalWhenUnactivated()); |
|
|
|
|
this.mobileCollapsedStyleEditor.setStyle(elementCaseEditor.getMobileCollapsedStyle()); |
|
|
|
|
this.mobileCollapsedStyleEditor.setSelected(elementCaseEditor.getMobileCollapsedStyle().isCollapsedWork()); |
|
|
|
|
fix(elementCaseEditor.getMobileCollapsedStyle()); |
|
|
|
|
this.mobileCollapsedStyleEditor.setSelected(elementCaseEditor.getMobileCollapsedStyle().isCollapsedWork()); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
@ -186,7 +186,7 @@ public class ElementCaseDefinePane extends MobileWidgetDefinePane {
|
|
|
|
|
* @param style |
|
|
|
|
*/ |
|
|
|
|
private void fix(MobileCollapsedStyle style) { |
|
|
|
|
style.setCollapsedWork(!FormDesignerUtils.isInAbsoluteLayout(xCreator)); |
|
|
|
|
style.setCollapsedWork(style.isCollapsedWork() && !FormDesignerUtils.isInAbsoluteLayout(xCreator)); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|