|
|
|
@ -4,6 +4,7 @@
|
|
|
|
|
package com.fr.design.style; |
|
|
|
|
|
|
|
|
|
import com.fr.base.FRContext; |
|
|
|
|
import com.fr.base.i18n.BidiUtils; |
|
|
|
|
import com.fr.design.dialog.BasicPane; |
|
|
|
|
import com.fr.design.gui.icheckbox.UICheckBox; |
|
|
|
|
import com.fr.design.gui.icombobox.LineComboBox; |
|
|
|
@ -137,7 +138,7 @@ public class FRFontPane extends BasicPane {
|
|
|
|
|
fireStateChanged(); |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
foregroundPane.add(foregroundColorPane, BorderLayout.WEST); |
|
|
|
|
foregroundPane.add(foregroundColorPane, BorderLayout.LINE_START); |
|
|
|
|
|
|
|
|
|
// center pane
|
|
|
|
|
JPanel centerPane = FRGUIPaneFactory.createBorderLayout_S_Pane(); |
|
|
|
@ -146,7 +147,7 @@ public class FRFontPane extends BasicPane {
|
|
|
|
|
|
|
|
|
|
// other reportFont dialog
|
|
|
|
|
JPanel otherFontPane = FRGUIPaneFactory.createBorderLayout_S_Pane(); |
|
|
|
|
centerPane.add(otherFontPane, BorderLayout.WEST); |
|
|
|
|
centerPane.add(otherFontPane, BorderLayout.LINE_START); |
|
|
|
|
// otherFontPane.setLayout(FRGUIPaneFactory.createBorderLayout());
|
|
|
|
|
|
|
|
|
|
// effects pane
|
|
|
|
@ -208,6 +209,7 @@ public class FRFontPane extends BasicPane {
|
|
|
|
|
//peteter:这里主动从Context, 获得默认的FRFont的值.
|
|
|
|
|
DefaultValues defaultValues = FRContext.getDefaultValues(); |
|
|
|
|
populate(defaultValues.getFRFont()); |
|
|
|
|
BidiUtils.applyOrientationByLocale(this); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public void addChangeListener(ChangeListener changeListener) { |
|
|
|
|