Browse Source

修改设置字体字号代码。

master
mengao 8 years ago
parent
commit
b233da60ef
  1. 2
      designer_chart/src/com/fr/design/mainframe/chart/gui/style/ChartTextAttrPane.java

2
designer_chart/src/com/fr/design/mainframe/chart/gui/style/ChartTextAttrPane.java

@ -30,7 +30,7 @@ public class ChartTextAttrPane extends BasicPane {
protected UIToggleButton bold; protected UIToggleButton bold;
protected UIToggleButton italic; protected UIToggleButton italic;
protected UIColorButton fontColor; protected UIColorButton fontColor;
public static Integer[] Font_Sizes = new Integer[67]; public static Integer[] Font_Sizes = new Integer[FONT_END-FONT_START+1];
static{ static{
for(int i = FONT_START; i <= FONT_END; i++){ for(int i = FONT_START; i <= FONT_END; i++){
Font_Sizes [i - FONT_START] = new Integer(i); Font_Sizes [i - FONT_START] = new Integer(i);

Loading…
Cancel
Save