|
|
|
@ -9,6 +9,7 @@ import com.fr.design.designer.beans.AdapterBus;
|
|
|
|
|
import com.fr.design.designer.beans.ComponentAdapter; |
|
|
|
|
import com.fr.design.designer.beans.LayoutAdapter; |
|
|
|
|
import com.fr.design.designer.beans.adapters.layout.FRWCardTagLayoutAdapter; |
|
|
|
|
import com.fr.design.designer.beans.models.ModelUtil; |
|
|
|
|
import com.fr.design.designer.beans.models.SelectionModel; |
|
|
|
|
import com.fr.design.designer.creator.XCreator; |
|
|
|
|
import com.fr.design.designer.creator.XCreatorUtils; |
|
|
|
@ -137,6 +138,8 @@ public class XWCardTagLayout extends XWHorizontalBoxLayout {
|
|
|
|
|
WTabFitLayout fitLayout = new WTabFitLayout(widgetName, tabFitIndex, currentCard); |
|
|
|
|
fitLayout.setTabNameIndex(getTabNameIndex()); |
|
|
|
|
XWTabFitLayout tabFitLayout = new XWTabFitLayout(fitLayout, new Dimension()); |
|
|
|
|
FormDesigner formDesigner = WidgetPropertyPane.getInstance().getEditingFormDesigner(); |
|
|
|
|
ModelUtil.renameWidgetName(formDesigner.getTarget(), tabFitLayout); |
|
|
|
|
WCardTagLayout layout = (WCardTagLayout) this.toData(); |
|
|
|
|
|
|
|
|
|
if(!ComparatorUtils.equals(layout.getTemplateStyle().getStyle(), DefaultTemplateStyle.DEFAULT_TEMPLATE_STYLE)){ |
|
|
|
|