|
|
|
@ -73,8 +73,6 @@ public class NewJForm extends JForm {
|
|
|
|
|
* @date: 2020/9/13 23:23 |
|
|
|
|
*/ |
|
|
|
|
private void changePaneSize() { |
|
|
|
|
if (mobileForm()) |
|
|
|
|
return; |
|
|
|
|
NewFormMarkAttr newFormMarkAttr = this.getTarget().getAttrMark(NewFormMarkAttr.XML_TAG); |
|
|
|
|
if (newFormMarkAttr.isNotSetOriginSize()) { |
|
|
|
|
newFormMarkAttr.setBodyHeight(LayoutTool.getBodyHeight(this)); |
|
|
|
@ -284,11 +282,8 @@ public class NewJForm extends JForm {
|
|
|
|
|
|
|
|
|
|
private UIButton[] addAdaptiveSwitchButton(UIButton[] extraButtons) { |
|
|
|
|
switchAction = new SwitchAction(); |
|
|
|
|
if (!mobileForm()) { |
|
|
|
|
return ArrayUtils.addAll(extraButtons, new UIButton[]{switchAction.getToolBarButton()}); |
|
|
|
|
} |
|
|
|
|
return extraButtons; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public boolean isNewJFrom() { |
|
|
|
|
return jFormType == null || jFormType.isNewType(); |
|
|
|
|