Browse Source
* commit '8bb98c85220b488f8fd24eb9f1dca01db5500532': 修改名称 调整代码 CHART-1343 修改取消轮播箭头的设置,让它符合设计的要求 CHART-1343 修改取消轮播箭头的设置,让它符合设计的要求 CHART-1343 修改取消轮播箭头的设置,让它符合设计的要求 REPORT-3914 调整代码 REPORT-4004 [9.0一轮回归]打开设计器无新建模板出现如附件图片 REPORT-3914 [9.0一轮回归]选中一片单元格后右侧工具栏中插入单元格元素可用 9.0新图表配置界面修改。 修改条形图、折线图、雷达图、框架图等图表配置界面bug。 代码质量 attr class path CHART-1212 函数名称更改了,这里需要同步一下 CHART-1212 添加去掉轮播箭头的设置 将控件顺序代码还原 REPORT-3734 [9.0一轮回归]设计器控件管理打不开 9.0新图表配置界面,样式、特效面板整体调整。 修改甘特图,漏斗图等图表配置界面bug。 整数度量 -> 小数度量 CHART-1212 设计器轮播面板添加设置轮播箭头隐藏的选项 CHART-1255 设计器面板添加0.5~17.5的层级optionmaster
xiaoxia
7 years ago
83 changed files with 548 additions and 292 deletions
@ -0,0 +1,32 @@ |
|||||||
|
package com.fr.plugin.chart.designer.component.format; |
||||||
|
|
||||||
|
import com.fr.design.gui.ilable.UILabel; |
||||||
|
import com.fr.design.gui.style.FormatPane; |
||||||
|
import com.fr.general.Inter; |
||||||
|
|
||||||
|
import javax.swing.*; |
||||||
|
import java.awt.*; |
||||||
|
|
||||||
|
/** |
||||||
|
* Created by mengao on 2017/8/28. |
||||||
|
*/ |
||||||
|
public class FormatPaneWithOutFont extends FormatPane { |
||||||
|
private static final int HEIGHT = 30; |
||||||
|
|
||||||
|
|
||||||
|
protected Component[][] getComponent (JPanel fontPane, JPanel centerPane, JPanel typePane) { |
||||||
|
return new Component[][]{ |
||||||
|
new Component[]{null, null}, |
||||||
|
new Component[]{new UILabel(Inter.getLocText("FR-Base_Format"), SwingConstants.LEFT), typePane}, |
||||||
|
new Component[]{centerPane, null}, |
||||||
|
}; |
||||||
|
} |
||||||
|
|
||||||
|
public Dimension getPreferredSize() { |
||||||
|
//todo @mango
|
||||||
|
if (getTypeComboBox().getSelectedIndex() == 0) { |
||||||
|
return new Dimension((int)getTypeComboBox().getPreferredSize().getWidth(), HEIGHT); |
||||||
|
} |
||||||
|
return super.getPreferredSize(); |
||||||
|
} |
||||||
|
} |
Loading…
Reference in new issue