|
|
@ -228,11 +228,14 @@ public class ChartEditorDefinePane extends MobileWidgetDefinePane { |
|
|
|
mobileAttr.setAllowFullScreen(allowFullCheckBox.isSelected()); |
|
|
|
mobileAttr.setAllowFullScreen(allowFullCheckBox.isSelected()); |
|
|
|
mobileAttr.setFunctionalWhenUnactivated(!functionalWhenUnactivatedCheckBox.isSelected()); |
|
|
|
mobileAttr.setFunctionalWhenUnactivated(!functionalWhenUnactivatedCheckBox.isSelected()); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
// 在不勾选body移动端属性-手机重布局时,如果修改body内的图表块的移动端属性,会造成这边的npe,因此加个判断
|
|
|
|
|
|
|
|
if (this.mobileCollapsedStyleEditor != null) { |
|
|
|
MobileCollapsedStyle style = this.mobileCollapsedStyleEditor.getStyle(); |
|
|
|
MobileCollapsedStyle style = this.mobileCollapsedStyleEditor.getStyle(); |
|
|
|
if (style != null) { |
|
|
|
if (style != null) { |
|
|
|
((ChartEditor) xCreator.toData()).setMobileCollapsedStyle(style); |
|
|
|
((ChartEditor) xCreator.toData()).setMobileCollapsedStyle(style); |
|
|
|
style.setCollapsedWork(this.mobileCollapsedStyleEditor.isSelectedCustom() && !FormDesignerUtils.isInAbsoluteLayout(xCreator)); |
|
|
|
style.setCollapsedWork(this.mobileCollapsedStyleEditor.isSelectedCustom() && !FormDesignerUtils.isInAbsoluteLayout(xCreator)); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
DesignerContext.getDesignerFrame().getSelectedJTemplate().fireTargetModified(); // 触发设计器保存按钮亮起来
|
|
|
|
DesignerContext.getDesignerFrame().getSelectedJTemplate().fireTargetModified(); // 触发设计器保存按钮亮起来
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|