Browse Source

Pull request #1831: CHART-14664 宽度定长

Merge in DESIGN/design from ~BJORN/design:release/10.0 to release/10.0

* commit '3a6efa8b3b901f0c489f9fa561f6942a51c11352':
  CHART-14664 宽度定长
feature/big-screen
Bjorn 5 years ago
parent
commit
82ee6ddab0
  1. 3
      designer-chart/src/main/java/com/fr/design/module/ChartPreStyleManagerPane.java

3
designer-chart/src/main/java/com/fr/design/module/ChartPreStyleManagerPane.java

@ -11,12 +11,14 @@ import com.fr.general.ComparatorUtils;
import com.fr.general.GeneralUtils;
import com.fr.general.NameObject;
import com.fr.stable.Nameable;
import com.fr.van.chart.designer.TableLayout4VanChartHelper;
import javax.swing.JPanel;
import java.util.Iterator;
import java.util.LinkedHashMap;
import java.util.Map;
import java.awt.BorderLayout;
import java.awt.Dimension;
/**
* 图表预定义管理 界面, 在工具栏-服务器管理中.
@ -61,6 +63,7 @@ public class ChartPreStyleManagerPane extends BasicPane {
colorSchemes.put(colorMatching.getId(), colorInfo);
}
defaultColorBox = new ColorSchemeComboBox(colorSchemes);
defaultColorBox.setPreferredSize(new Dimension(TableLayout4VanChartHelper.EDIT_AREA_WIDTH, 20));
}
private void refreshColorSchemes() {

Loading…
Cancel
Save