@ -12,6 +12,7 @@ import com.fr.design.gui.ilable.UILabel;
import com.fr.design.i18n.Toolkit ;
import com.fr.design.i18n.Toolkit ;
import com.fr.design.layout.FRGUIPaneFactory ;
import com.fr.design.layout.FRGUIPaneFactory ;
import com.fr.design.utils.gui.UIComponentUtils ;
import com.fr.page.ReportPageAttrProvider ;
import com.fr.page.ReportPageAttrProvider ;
import com.fr.stable.ColumnRow ;
import com.fr.stable.ColumnRow ;
import com.fr.stable.FT ;
import com.fr.stable.FT ;
@ -323,11 +324,14 @@ public class RepeatAndFreezeSettingPane extends BasicPane {
cell ( initPageFrozenFootPane ( ) )
cell ( initPageFrozenFootPane ( ) )
) . getComponent ( ) ;
) . getComponent ( ) ;
UILabel tipLabel = new UILabel ( Toolkit . i18nText ( "Fine-Design_Report_Engine_Freeze_Tip" ) ) ;
FineUIStyle . setStyle ( tipLabel , FineUIStyle . LABEL_TIP ) ;
JPanel pagePanel = column (
JPanel pagePanel = column (
20 ,
20 ,
cell ( wrapComponentWithTitle ( outrepeatPanel , com . fr . design . i18n . Toolkit . i18nText ( "Fine-Design_Report_Repeat" ) ) ) ,
cell ( wrapComponentWithTitle ( outrepeatPanel , com . fr . design . i18n . Toolkit . i18nText ( "Fine-Design_Report_Repeat" ) ) ) ,
cell ( wrapComponentWithTitle ( outfreezePanel , com . fr . design . i18n . Toolkit . i18nText ( "Fine-Design_Report_Engine_Frozen" ) ) ) ,
cell ( wrapComponentWithTitle ( outfreezePanel , com . fr . design . i18n . Toolkit . i18nText ( "Fine-Design_Report_Engine_Frozen" ) ) ) ,
cell ( new UILabel ( Toolkit . i18nText ( "Fine-Design_Report_Engine_Freeze_Tip" ) ) ) . with ( it - > FineUIStyle . setStyle ( it , FineUIStyle . LABEL_TIP ) )
cell ( tipLabel ) . with ( UIComponentUtils : : setLineWrap )
) . getComponent ( ) ;
) . getComponent ( ) ;
JPanel labelPanel = FRGUIPaneFactory . createNormalFlowInnerContainer_S_Pane ( ) ;
JPanel labelPanel = FRGUIPaneFactory . createNormalFlowInnerContainer_S_Pane ( ) ;
@ -389,7 +393,7 @@ public class RepeatAndFreezeSettingPane extends BasicPane {
FineTabbedPane . TabPaneBuilder tabbedPaneBuilder = new FineTabbedPane . TabPaneBuilder ( ) ;
FineTabbedPane . TabPaneBuilder tabbedPaneBuilder = new FineTabbedPane . TabPaneBuilder ( ) ;
tabbedPaneBuilder . addTab ( Toolkit . i18nText ( "Fine-Design_Basic_M_Page_Preview" ) , pagePanel ) ; //分页预览
tabbedPaneBuilder . addTab ( Toolkit . i18nText ( "Fine-Design_Basic_M_Page_Preview" ) , pagePanel ) ; //分页预览
tabbedPaneBuilder . addTab ( Toolkit . i18nText ( "Fine-Design_Basic_M_Write_Preview" ) , freezePanel ) ;
tabbedPaneBuilder . addTab ( Toolkit . i18nText ( "Fine-Design_Basic_M_Write_Preview" ) , freezePanel ) ;
tabbedPane = tabbedPaneBuilder . withHeadRatio ( 0 . 35 f) . build ( ) ;
tabbedPane = tabbedPaneBuilder . withHeadRatio ( 0 . 4 f) . build ( ) ;
//去除对应的焦点虚线边框
//去除对应的焦点虚线边框
tabbedPane . setFocusable ( false ) ;
tabbedPane . setFocusable ( false ) ;
this . add ( tabbedPane ) ;
this . add ( tabbedPane ) ;