|
|
@ -644,12 +644,9 @@ public class PreferencePane extends BasicPane { |
|
|
|
JPanel editPane = FRGUIPaneFactory.createTopVerticalTitledBorderPane(i18nText("Fine-Design_Basic_Editor_Preference")); |
|
|
|
JPanel editPane = FRGUIPaneFactory.createTopVerticalTitledBorderPane(i18nText("Fine-Design_Basic_Editor_Preference")); |
|
|
|
generalPane.add(editPane); |
|
|
|
generalPane.add(editPane); |
|
|
|
|
|
|
|
|
|
|
|
JPanel formulaPane = new JPanel(); |
|
|
|
|
|
|
|
//设置是否支持将字符串编辑为公式
|
|
|
|
//设置是否支持将字符串编辑为公式
|
|
|
|
supportStringToFormulaBox = new UICheckBox(i18nText("Fine-Design_Report_Support_String_To_Formula")); |
|
|
|
supportStringToFormulaBox = new UICheckBox(i18nText("Fine-Design_Report_Support_String_To_Formula")); |
|
|
|
//行容器为一个panel
|
|
|
|
editPane.add(supportStringToFormulaBox); |
|
|
|
formulaPane.add(supportStringToFormulaBox); |
|
|
|
|
|
|
|
editPane.add(formulaPane); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//是否默认转化
|
|
|
|
//是否默认转化
|
|
|
|
defaultStringToFormulaBox = new UICheckBox(i18nText("Fine-Design_Basic_Always")); |
|
|
|
defaultStringToFormulaBox = new UICheckBox(i18nText("Fine-Design_Basic_Always")); |
|
|
@ -667,7 +664,7 @@ public class PreferencePane extends BasicPane { |
|
|
|
keyStrokePane.add(shortCutLabel, BorderLayout.CENTER); |
|
|
|
keyStrokePane.add(shortCutLabel, BorderLayout.CENTER); |
|
|
|
keyStrokePane.setBorder(new EmptyBorder(0, 10,0,0)); |
|
|
|
keyStrokePane.setBorder(new EmptyBorder(0, 10,0,0)); |
|
|
|
|
|
|
|
|
|
|
|
JPanel defaultExecutePane = new JPanel(); |
|
|
|
JPanel defaultExecutePane = new JPanel(FRGUIPaneFactory.createLeftZeroVgapNormalHgapLayout()); |
|
|
|
defaultExecutePane.add(defaultStringToFormulaBox); |
|
|
|
defaultExecutePane.add(defaultStringToFormulaBox); |
|
|
|
defaultExecutePane.add(keyStrokePane); |
|
|
|
defaultExecutePane.add(keyStrokePane); |
|
|
|
editPane.add(defaultExecutePane); |
|
|
|
editPane.add(defaultExecutePane); |
|
|
|