|
|
@ -16,14 +16,12 @@ import com.fr.design.designer.creator.cardlayout.XWCardMainBorderLayout; |
|
|
|
import com.fr.design.designer.creator.cardlayout.XWTabFitLayout; |
|
|
|
import com.fr.design.designer.creator.cardlayout.XWTabFitLayout; |
|
|
|
import com.fr.design.designer.properties.FRFitLayoutConstraints; |
|
|
|
import com.fr.design.designer.properties.FRFitLayoutConstraints; |
|
|
|
import com.fr.design.designer.properties.FRFitLayoutPropertiesGroupModel; |
|
|
|
import com.fr.design.designer.properties.FRFitLayoutPropertiesGroupModel; |
|
|
|
import com.fr.design.file.HistoryTemplateListPane; |
|
|
|
|
|
|
|
import com.fr.design.mainframe.JForm; |
|
|
|
|
|
|
|
import com.fr.design.utils.ComponentUtils; |
|
|
|
import com.fr.design.utils.ComponentUtils; |
|
|
|
import com.fr.form.ui.LayoutBorderStyle; |
|
|
|
import com.fr.form.ui.LayoutBorderStyle; |
|
|
|
|
|
|
|
import com.fr.form.ui.container.WAbsoluteLayout; |
|
|
|
import com.fr.form.ui.container.WLayout; |
|
|
|
import com.fr.form.ui.container.WLayout; |
|
|
|
import com.fr.form.ui.container.cardlayout.WCardMainBorderLayout; |
|
|
|
import com.fr.form.ui.container.cardlayout.WCardMainBorderLayout; |
|
|
|
import com.fr.general.ComparatorUtils; |
|
|
|
import com.fr.general.ComparatorUtils; |
|
|
|
import com.fr.form.ui.container.WAbsoluteLayout.BoundsWidget; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import java.awt.*; |
|
|
|
import java.awt.*; |
|
|
|
import java.util.ArrayList; |
|
|
|
import java.util.ArrayList; |
|
|
@ -1013,7 +1011,7 @@ public class FRFitLayoutAdapter extends FRBodyLayoutAdapter { |
|
|
|
setAdjustedSize(tabLayout, offset, isHor); |
|
|
|
setAdjustedSize(tabLayout, offset, isHor); |
|
|
|
for (int m = 0; m < tabLayout.getComponentCount(); m++) { |
|
|
|
for (int m = 0; m < tabLayout.getComponentCount(); m++) { |
|
|
|
XCreator childCreator = tabLayout.getXCreator(m); |
|
|
|
XCreator childCreator = tabLayout.getXCreator(m); |
|
|
|
BoundsWidget wgt = (BoundsWidget) tabLayout.toData().getBoundsWidget(childCreator.toData()); |
|
|
|
WAbsoluteLayout.BoundsWidget wgt = (WAbsoluteLayout.BoundsWidget) tabLayout.toData().getBoundsWidget(childCreator.toData()); |
|
|
|
wgt.setBounds(tabLayout.getComponent(m).getBounds()); |
|
|
|
wgt.setBounds(tabLayout.getComponent(m).getBounds()); |
|
|
|
} |
|
|
|
} |
|
|
|
adjustCreatorsSize(percent, tabLayout, isHor); |
|
|
|
adjustCreatorsSize(percent, tabLayout, isHor); |
|
|
|