|
|
@ -3,6 +3,7 @@ package com.fr.van.chart.designer.style; |
|
|
|
import com.fr.base.BaseFormula; |
|
|
|
import com.fr.base.BaseFormula; |
|
|
|
import com.fr.base.BaseUtils; |
|
|
|
import com.fr.base.BaseUtils; |
|
|
|
import com.fr.base.Utils; |
|
|
|
import com.fr.base.Utils; |
|
|
|
|
|
|
|
import com.fr.base.i18n.BidiUtils; |
|
|
|
import com.fr.chart.base.TextAttr; |
|
|
|
import com.fr.chart.base.TextAttr; |
|
|
|
import com.fr.chartx.config.info.constant.ConfigType; |
|
|
|
import com.fr.chartx.config.info.constant.ConfigType; |
|
|
|
import com.fr.design.formula.DefaultTinyFormulaPane; |
|
|
|
import com.fr.design.formula.DefaultTinyFormulaPane; |
|
|
@ -158,7 +159,7 @@ public class VanChartTitlePane extends AbstractVanChartScrollPane<VanChart> { |
|
|
|
UIComponentUtils.setLineWrap(useHtml); |
|
|
|
UIComponentUtils.setLineWrap(useHtml); |
|
|
|
Component[][] components = new Component[][]{ |
|
|
|
Component[][] components = new Component[][]{ |
|
|
|
new Component[]{null, null}, |
|
|
|
new Component[]{null, null}, |
|
|
|
new Component[]{new UILabel(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Report_Text"), SwingConstants.LEFT), titleContent}, |
|
|
|
new Component[]{new UILabel(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Report_Text"), BidiUtils.rtl() ? SwingConstants.RIGHT : SwingConstants.LEFT), titleContent}, |
|
|
|
new Component[]{null, useHtml}, |
|
|
|
new Component[]{null, useHtml}, |
|
|
|
}; |
|
|
|
}; |
|
|
|
JPanel panel = TableLayout4VanChartHelper.createGapTableLayoutPane(components, row, col); |
|
|
|
JPanel panel = TableLayout4VanChartHelper.createGapTableLayoutPane(components, row, col); |
|
|
@ -178,7 +179,7 @@ public class VanChartTitlePane extends AbstractVanChartScrollPane<VanChart> { |
|
|
|
|
|
|
|
|
|
|
|
Component[][] components = new Component[][]{ |
|
|
|
Component[][] components = new Component[][]{ |
|
|
|
new Component[]{null, null}, |
|
|
|
new Component[]{null, null}, |
|
|
|
new Component[]{new UILabel(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Form_BorderLayout_Constraints"), SwingConstants.LEFT), alignmentPane}, |
|
|
|
new Component[]{new UILabel(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Form_BorderLayout_Constraints"), BidiUtils.rtl() ? SwingConstants.RIGHT : SwingConstants.LEFT), alignmentPane}, |
|
|
|
new Component[]{null, customFloatPositionButton} |
|
|
|
new Component[]{null, customFloatPositionButton} |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|