Browse Source
* commit 'dead79e8563fa699e3d6247f17f938cce83a6483': REPORT-133840 【fr-fbp回归】关闭起始页,先进会失败的工作目录,再进会成功的工作目录会失败 无jira 漏翻面板整改 REPORT-134842 & REPORT-134740 fix:存储过程命名交互问题 & 日期下拉框问题 REPORT-134241 【安全】FBP远程设计的相关接口均没有做权限校验,任意用户均可访问 REPORT-134241 【安全】FBP远程设计的相关接口均没有做权限校验,任意用户均可访问 REPORT-134415 【fr-fbp回归】hive平台和设计器 数据连接类型不一致 REPORT-134212 fix: 【FBP】字号选择下拉框的编辑框显示不全/不显示fbp/research
6 changed files with 65 additions and 77 deletions
@ -1,30 +1,16 @@
|
||||
package com.fr.van.chart.designer.style.axis; |
||||
|
||||
import com.fr.design.layout.TableLayout; |
||||
import com.fr.design.mainframe.chart.gui.style.ChartTextAttrPane; |
||||
import com.fr.design.mainframe.chart.gui.style.ChartTextAttrPaneWithThemeStyle; |
||||
import com.fr.design.mainframe.chart.mode.ChartEditContext; |
||||
import com.fr.van.chart.designer.TableLayout4VanChartHelper; |
||||
|
||||
import javax.swing.JPanel; |
||||
|
||||
public class VanChartAxisPaneHelper { |
||||
public static ChartTextAttrPane createAxisTextAttrPane() { |
||||
return ChartEditContext.supportTheme() ? new ChartTextAttrPaneWithThemeStyle() { |
||||
protected double getEdithAreaWidth() { |
||||
return TableLayout4VanChartHelper.SECOND_EDIT_AREA_WIDTH; |
||||
} |
||||
} : new ChartTextAttrPane() { |
||||
@Override |
||||
protected JPanel getContentPane(JPanel buttonPane) { |
||||
double p = TableLayout.PREFERRED; |
||||
double f = TableLayout.FILL; |
||||
double e = TableLayout4VanChartHelper.SECOND_EDIT_AREA_WIDTH; |
||||
double[] columnSize = {f, e}; |
||||
double[] rowSize = {p, p, p}; |
||||
|
||||
return TableLayout4VanChartHelper.createGapTableLayoutPane(getComponents(buttonPane), rowSize, columnSize); |
||||
} |
||||
}; |
||||
} : new ChartTextAttrPane(); |
||||
} |
||||
} |
||||
|
Loading…
Reference in new issue