|
|
@ -67,25 +67,28 @@ public class TabMobileWidgetDefinePane extends MobileWidgetDefinePane { |
|
|
|
JPanel jPanel = TableLayoutHelper.createGapTableLayoutPane(new Component[][]{new Component[]{label, templateStyleEditor}, {new UILabel()}}, TableLayoutHelper.FILL_LASTCOLUMN, IntervalConstants.INTERVAL_L1, LayoutConstants.VGAP_LARGE); |
|
|
|
JPanel jPanel = TableLayoutHelper.createGapTableLayoutPane(new Component[][]{new Component[]{label, templateStyleEditor}, {new UILabel()}}, TableLayoutHelper.FILL_LASTCOLUMN, IntervalConstants.INTERVAL_L1, LayoutConstants.VGAP_LARGE); |
|
|
|
JPanel holder = FRGUIPaneFactory.createBorderLayout_S_Pane(); |
|
|
|
JPanel holder = FRGUIPaneFactory.createBorderLayout_S_Pane(); |
|
|
|
holder.add(jPanel, BorderLayout.NORTH); |
|
|
|
holder.add(jPanel, BorderLayout.NORTH); |
|
|
|
if (!shouldHidePadding(designer)) { |
|
|
|
|
|
|
|
JPanel innerAdvancePane = FRGUIPaneFactory.createBorderLayout_S_Pane(); |
|
|
|
JPanel innerAdvancePane = FRGUIPaneFactory.createBorderLayout_S_Pane(); |
|
|
|
|
|
|
|
if (!shouldHidePadding(designer)) { |
|
|
|
marginPane = new MobileComponentMarginPane(FormTabPaddingAttrMark.XML_TAG); |
|
|
|
marginPane = new MobileComponentMarginPane(FormTabPaddingAttrMark.XML_TAG); |
|
|
|
intervalPane = new MobileComponentLayoutIntervalPane(FormTabPaddingAttrMark.XML_TAG); |
|
|
|
intervalPane = new MobileComponentLayoutIntervalPane(FormTabPaddingAttrMark.XML_TAG); |
|
|
|
if (FormDesignerUtils.isAppRelayout(designer)) { |
|
|
|
if (FormDesignerUtils.isAppRelayout(designer)) { |
|
|
|
mobileBookMarkUsePane = new MobileBookMarkUsePane(); |
|
|
|
mobileBookMarkUsePane = new MobileBookMarkUsePane(); |
|
|
|
innerAdvancePane.add(mobileBookMarkUsePane, BorderLayout.CENTER); |
|
|
|
innerAdvancePane.add(mobileBookMarkUsePane, BorderLayout.CENTER); |
|
|
|
} |
|
|
|
} |
|
|
|
mobileTabCommonSettingPane = new MobileTabCommonSettingPane(); |
|
|
|
mobileTabCommonSettingPane = new MobileTabCommonSettingPane(false); |
|
|
|
innerAdvancePane.add(mobileTabCommonSettingPane, BorderLayout.SOUTH); |
|
|
|
|
|
|
|
innerAdvancePane.add(marginPane, BorderLayout.NORTH); |
|
|
|
|
|
|
|
UIExpandablePane advancePane = new UIExpandablePane(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Report_Advanced"), 280, 20, innerAdvancePane); |
|
|
|
|
|
|
|
UIExpandablePane layoutPane = new UIExpandablePane(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Form_Layout"), 280, 20, intervalPane); |
|
|
|
UIExpandablePane layoutPane = new UIExpandablePane(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Form_Layout"), 280, 20, intervalPane); |
|
|
|
//高级
|
|
|
|
innerAdvancePane.add(marginPane, BorderLayout.NORTH); |
|
|
|
holder.add(advancePane, BorderLayout.CENTER); |
|
|
|
|
|
|
|
//布局
|
|
|
|
//布局
|
|
|
|
holder.add(layoutPane, BorderLayout.SOUTH); |
|
|
|
holder.add(layoutPane, BorderLayout.SOUTH); |
|
|
|
|
|
|
|
} else { |
|
|
|
|
|
|
|
mobileTabCommonSettingPane = new MobileTabCommonSettingPane(true); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
innerAdvancePane.add(mobileTabCommonSettingPane, BorderLayout.SOUTH); |
|
|
|
|
|
|
|
UIExpandablePane advancePane = new UIExpandablePane(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Report_Advanced"), 280, 20, innerAdvancePane); |
|
|
|
|
|
|
|
//高级
|
|
|
|
|
|
|
|
holder.add(advancePane, BorderLayout.CENTER); |
|
|
|
|
|
|
|
|
|
|
|
this.add(holder, BorderLayout.NORTH); |
|
|
|
this.add(holder, BorderLayout.NORTH); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|