Browse Source

REPORT-138579 fix:esd工具条布局修复

fbp/master
Levy.Xie-解安森 4 weeks ago
parent
commit
18bca732b2
  1. 6
      designer-base/src/main/java/com/fr/design/data/tabledata/tabledatapane/DBTableDataPane.java

6
designer-base/src/main/java/com/fr/design/data/tabledata/tabledatapane/DBTableDataPane.java

@ -342,13 +342,13 @@ public class DBTableDataPane extends AbstractTableDataPane<DBTableData> implemen
private void createToolbarEsdComponents(final UIToolbar editToolBar) { private void createToolbarEsdComponents(final UIToolbar editToolBar) {
this.esdSettingsLabel = new UILabel(Toolkit.i18nText("Fine-Design_ESD_Cache_Settings")); this.esdSettingsLabel = new UILabel(Toolkit.i18nText("Fine-Design_ESD_Cache_Settings"));
esdSettingsLabel.setBorder(new ScaledEmptyBorder(0, 6, 0,6)); esdSettingsLabel.setBorder(new ScaledEmptyBorder(0, 2, 0,2));
this.esdConfigOption = new UIComboBox(StrategyConfigFrom.values()); this.esdConfigOption = new UIComboBox(StrategyConfigFrom.values());
this.esdConfigOption.putClientProperty(COMBO_BOX_TYPE, ADAPTIVE_COMBO_BOX); this.esdConfigOption.putClientProperty(COMBO_BOX_TYPE, ADAPTIVE_COMBO_BOX);
this.esdEnabled = new UICheckBox(Toolkit.i18nText("Fine-Design_ESD_Enable_Cache")); this.esdEnabled = new UICheckBox(Toolkit.i18nText("Fine-Design_ESD_Enable_Cache"));
esdEnabled.setBorder(new ScaledEmptyBorder(0, 6, 0,6)); esdEnabled.setBorder(new ScaledEmptyBorder(0, 2, 0,2));
this.barErrorTips = new UILabel(); this.barErrorTips = new UILabel();
barErrorTips.setBorder(new ScaledEmptyBorder(0, 6, 0,6)); barErrorTips.setBorder(new ScaledEmptyBorder(0, 2, 0,2));
FineUIStyle.setStyle(barErrorTips, FineUIStyle.LABEL_WARNING_TIP); FineUIStyle.setStyle(barErrorTips, FineUIStyle.LABEL_WARNING_TIP);
this.barErrorTips.setVisible(false); this.barErrorTips.setVisible(false);

Loading…
Cancel
Save