Browse Source

Merge pull request #1343 in DESIGN/design from ~BJORN/design:feature/10.0 to feature/10.0

* commit '5e5613f718afa2766474169155850ee95d1d399c':
  CHART-11335 编辑结束后重设tooltip
persist/11.0
Bjorn 5 years ago
parent
commit
4d8628f30f
  1. 7
      designer-chart/src/main/java/com/fr/design/mainframe/chart/gui/ChartTypeButtonPane.java

7
designer-chart/src/main/java/com/fr/design/mainframe/chart/gui/ChartTypeButtonPane.java

@ -25,6 +25,9 @@ import javax.swing.BorderFactory;
import javax.swing.BoxLayout; import javax.swing.BoxLayout;
import javax.swing.JPanel; import javax.swing.JPanel;
import javax.swing.SwingUtilities; import javax.swing.SwingUtilities;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.Set;
import java.awt.BorderLayout; import java.awt.BorderLayout;
import java.awt.Dimension; import java.awt.Dimension;
import java.awt.FlowLayout; import java.awt.FlowLayout;
@ -41,9 +44,6 @@ import java.awt.event.MouseEvent;
import java.awt.event.MouseListener; import java.awt.event.MouseListener;
import java.awt.geom.Rectangle2D; import java.awt.geom.Rectangle2D;
import java.awt.image.BufferedImage; import java.awt.image.BufferedImage;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.Set;
/** /**
* 图表 类型 增删 控制按钮界面. * 图表 类型 增删 控制按钮界面.
@ -438,6 +438,7 @@ public class ChartTypeButtonPane extends BasicBeanPane<ChartCollection> implemen
private void changeChartName(String name) { private void changeChartName(String name) {
this.setText(name); this.setText(name);
this.setToolTipText(name);
buttonName = name; buttonName = name;
} }

Loading…
Cancel
Save