Browse Source

CHART-20385【11.0】图例主题颜色控件展示异常

fix-lag
kerry 3 years ago
parent
commit
6f28df6d55
  1. 10
      designer-chart/src/main/java/com/fr/design/mainframe/chart/gui/ColorSelectPaneWithOutTransparent.java

10
designer-chart/src/main/java/com/fr/design/mainframe/chart/gui/ColorSelectPaneWithOutTransparent.java

@ -3,8 +3,7 @@ package com.fr.design.mainframe.chart.gui;
import com.fr.chart.base.ChartConstants; import com.fr.chart.base.ChartConstants;
import com.fr.design.style.color.NewColorSelectPane; import com.fr.design.style.color.NewColorSelectPane;
import javax.swing.*; import java.awt.Color;
import java.awt.*;
/** /**
* Created by Fangjie on 2016/4/8. * Created by Fangjie on 2016/4/8.
@ -19,11 +18,4 @@ public class ColorSelectPaneWithOutTransparent extends NewColorSelectPane {
return ChartConstants.MAP_COLOR_ARRAY; return ChartConstants.MAP_COLOR_ARRAY;
} }
protected JPanel getMenuColorPane() {
JPanel menuColorPane = new JPanel();
menuColorPane.setLayout(new GridLayout(0, 8, 1, 1));
menuColorPane.setBorder(BorderFactory.createEmptyBorder(8, 8, 0, 8));
return menuColorPane;
}
} }

Loading…
Cancel
Save