Browse Source

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

Merge in DESIGN/design from ~OBO/design:release/11.0 to release/11.0

* commit 'd878d8a94783b492a3a6f4d394f0178e4f1fba7a':
  按钮不用加tooltip,回滚一下
  REPORT-106743 fix:设计器地图英文显示问题
release/11.0
Obo-王学仁 3 months ago
parent
commit
bf145ae860
  1. 5
      designer-chart/src/main/java/com/fr/van/chart/map/designer/type/WMSLayerPane.java

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

@ -57,14 +57,13 @@ 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")); connectButton = new UIButton(Toolkit.i18nText("Fine-Design_Chart_Connect_WMP"));
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