|
|
@ -39,6 +39,7 @@ import com.fr.log.FineLoggerFactory; |
|
|
|
import com.fr.report.core.ReportUtils; |
|
|
|
import com.fr.report.core.ReportUtils; |
|
|
|
|
|
|
|
|
|
|
|
import javax.swing.*; |
|
|
|
import javax.swing.*; |
|
|
|
|
|
|
|
import javax.swing.border.Border; |
|
|
|
import java.awt.*; |
|
|
|
import java.awt.*; |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
@ -219,6 +220,15 @@ public class FRFitLayoutDefinePane extends AbstractFRLayoutDefinePane<WFitLayout |
|
|
|
FormDesigner formDesigner = WidgetPropertyPane.getInstance().getEditingFormDesigner(); |
|
|
|
FormDesigner formDesigner = WidgetPropertyPane.getInstance().getEditingFormDesigner(); |
|
|
|
formDesigner.getSelectionModel().setSelectedCreators( |
|
|
|
formDesigner.getSelectionModel().setSelectedCreators( |
|
|
|
FormSelectionUtils.rebuildSelection(xWFitLayout, new Widget[]{wAbsoluteBodyLayout})); |
|
|
|
FormSelectionUtils.rebuildSelection(xWFitLayout, new Widget[]{wAbsoluteBodyLayout})); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (xwAbsoluteBodyLayout.toData() != null) { |
|
|
|
|
|
|
|
xwAbsoluteBodyLayout.toData().setBorderStyle(wAbsoluteBodyLayout.getBorderStyle()); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
xwAbsoluteBodyLayout.refreshStylePreviewEffect(); |
|
|
|
|
|
|
|
if (xWFitLayout.toData() != null) { |
|
|
|
|
|
|
|
xWFitLayout.toData().resetStyle(); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
xWFitLayout.refreshStylePreviewEffect(); |
|
|
|
} |
|
|
|
} |
|
|
|
} catch (Exception e) { |
|
|
|
} catch (Exception e) { |
|
|
|
FineLoggerFactory.getLogger().error(e.getMessage(), e); |
|
|
|
FineLoggerFactory.getLogger().error(e.getMessage(), e); |
|
|
|