Browse Source

Merge pull request #3416 in DESIGN/design from bugfix/10.0 to feature/10.0

* commit 'fdd13c1dab66ea805e6c02505d9498df7751c8a7':
  CHART-17941 调整面板
  REPORT-46993 fix 无用import
  REPORT-46993 【10.0.13冒烟】设计器启动之后的第一张模板,参数面板展示不正常
feature/10.0
superman 4 years ago
parent
commit
e5ab4bcff3
  1. 2
      designer-base/src/main/java/com/fr/design/mainframe/JTemplate.java
  2. 2
      designer-chart/src/main/java/com/fr/van/chart/map/designer/style/series/VanChartMapAnchorMarkerPane.java

2
designer-base/src/main/java/com/fr/design/mainframe/JTemplate.java

@ -357,6 +357,8 @@ public abstract class JTemplate<T extends BaseBook, U extends BaseUndoState<?>>
removeCenterPane();
// 加入新的
addCenterPane();
refreshToolArea();
} catch (Exception e) {
FineLoggerFactory.getLogger().error(e.getMessage(), e);
}

2
designer-chart/src/main/java/com/fr/van/chart/map/designer/style/series/VanChartMapAnchorMarkerPane.java

@ -10,6 +10,7 @@ import com.fr.plugin.chart.base.VanChartAttrMarker;
import com.fr.plugin.chart.marker.type.MarkerType;
import com.fr.van.chart.designer.TableLayout4VanChartHelper;
import javax.swing.BorderFactory;
import javax.swing.JPanel;
import java.awt.BorderLayout;
import java.awt.Component;
@ -35,6 +36,7 @@ public class VanChartMapAnchorMarkerPane extends BasicBeanPane<VanChartAttrMarke
content.setBorder(TableLayout4VanChartHelper.SECOND_EDIT_AREA_BORDER);
this.setLayout(new BorderLayout());
this.setBorder(BorderFactory.createEmptyBorder(5, 0, 0, 0));
this.add(content, BorderLayout.CENTER);
}

Loading…
Cancel
Save