Browse Source

REPORT-104056 保持整体对齐

release/11.0
obo 1 year ago
parent
commit
e96700795e
  1. 7
      designer-base/src/main/java/com/fr/design/actions/file/PreferencePane.java

7
designer-base/src/main/java/com/fr/design/actions/file/PreferencePane.java

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

Loading…
Cancel
Save