Browse Source

CHART-16939 条件属性标签宽高问题

final/10.0
白岳 4 years ago
parent
commit
56ea112663
  1. 2
      designer-chart/src/main/java/com/fr/van/chart/designer/component/VanChartTooltipContentPane.java

2
designer-chart/src/main/java/com/fr/van/chart/designer/component/VanChartTooltipContentPane.java

@ -270,7 +270,7 @@ public class VanChartTooltipContentPane extends BasicBeanPane<AttrTooltipContent
} else if (content.getSelectedIndex() == RICH_EDITOR_INDEX) { } else if (content.getSelectedIndex() == RICH_EDITOR_INDEX) {
return editorPanel.getPreferredSize(); return editorPanel.getPreferredSize();
} else { } else {
return new Dimension(commonPanel.getPreferredSize().width, htmlLabelPane.getPreferredSize().height); return new Dimension(editorPanel.getPreferredSize().width, htmlLabelPane.getPreferredSize().height);
} }
} }
}; };

Loading…
Cancel
Save