Browse Source

CHART-15965 无边框设置界面时,border宽度设置为0

feature/big-screen
Qinghui.Liu 4 years ago
parent
commit
eb2c2dc7b3
  1. 5
      designer-chart/src/main/java/com/fr/van/chart/designer/style/label/VanChartPlotLabelDetailPane.java

5
designer-chart/src/main/java/com/fr/van/chart/designer/style/label/VanChartPlotLabelDetailPane.java

@ -14,6 +14,7 @@ import com.fr.design.mainframe.chart.gui.style.ChartTextAttrPane;
import com.fr.design.style.color.ColorSelectBox;
import com.fr.general.ComparatorUtils;
import com.fr.plugin.chart.attr.plot.VanChartLabelPositionPlot;
import com.fr.plugin.chart.base.AttrBorderWithShape;
import com.fr.plugin.chart.base.AttrLabelDetail;
import com.fr.plugin.chart.base.AttrTooltipContent;
import com.fr.stable.Constants;
@ -370,6 +371,10 @@ public class VanChartPlotLabelDetailPane extends BasicPane {
}
if(borderPane != null){
borderPane.update(detail.getBorder());
} else {
AttrBorderWithShape border = new AttrBorderWithShape();
border.setBorderStyle(Constants.LINE_NONE);
detail.setBorder(border);
}
if(backgroundPane != null){
backgroundPane.update(detail.getBackground());

Loading…
Cancel
Save