Browse Source

REPORT-106743 fix:设计器地图英文显示问题

release/11.0
obo 3 months ago
parent
commit
f09af5d353
  1. 9
      designer-chart/src/main/java/com/fr/van/chart/map/designer/type/WMSLayerPane.java

9
designer-chart/src/main/java/com/fr/van/chart/map/designer/type/WMSLayerPane.java

@ -57,14 +57,15 @@ public class WMSLayerPane extends JPanel implements UIObserver {
public WMSLayerPane() { public WMSLayerPane() {
final double p = TableLayout.PREFERRED; final double p = TableLayout.PREFERRED;
double[] rowSize = {p}; double[] rowSize = {p};
double[] COLUMN_SIZE = {TableLayout4VanChartHelper.DESCRIPTION_AREA_WIDTH, 84, 44}; double[] COLUMN_SIZE = {TableLayout4VanChartHelper.DESCRIPTION_AREA_WIDTH, 84, 95};
wmsUrl = new UITextArea(); wmsUrl = new UITextArea();
connectButton = new UIButton(Toolkit.i18nText("Fine-Design_Chart_Connect_WMP")); String connectionButtonText = Toolkit.i18nText("Fine-Design_Chart_Connect_WMP");
connectButton = new UIButton(connectionButtonText);
connectButton.setToolTipText(connectionButtonText);
Component[][] comps = new Component[][]{ Component[][] comps = new Component[][]{
new Component[]{new UILabel("url"), wmsUrl, connectButton} new Component[]{new UILabel("URL"), wmsUrl, connectButton}
}; };
JPanel northPane = TableLayout4VanChartHelper.createGapTableLayoutPane(comps, rowSize, COLUMN_SIZE); JPanel northPane = TableLayout4VanChartHelper.createGapTableLayoutPane(comps, rowSize, COLUMN_SIZE);
northPane.setBorder(TableLayout4VanChartHelper.SECOND_EDIT_AREA_BORDER); northPane.setBorder(TableLayout4VanChartHelper.SECOND_EDIT_AREA_BORDER);

Loading…
Cancel
Save