Browse Source

REPORT-81307 A列列宽概率显示为B列列宽值

feature/x
Destiny.Lin 2 years ago
parent
commit
f9d77fac63
  1. 9
      designer-realize/src/main/java/com/fr/grid/AbstractGridHeaderMouseHandler.java

9
designer-realize/src/main/java/com/fr/grid/AbstractGridHeaderMouseHandler.java

@ -317,11 +317,14 @@ public abstract class AbstractGridHeaderMouseHandler extends MouseInputAdapter {
StringBuilder sb = new StringBuilder(); StringBuilder sb = new StringBuilder();
sb.append(String.format("%.2f", new Double(len))) sb.append(String.format("%.2f", new Double(len)))
.append('/').append(String.format("%.2f", new Double(tlen))) .append('/').append(String.format("%.2f", new Double(tlen)))
.append(unit).append('(') .append(unit);
.append((int) (unitValue.toPixD(resolution))).append('/') if(!DesignerUIModeConfig.getInstance().simulateWebUIMode()){
.append((int) (totalUnitValue.toPixD(resolution))) sb.append('(')
.append((int)(unitValue.toPixD(resolution))).append('/')
.append((int)(totalUnitValue.toPixD(resolution)))
.append(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Basic_Px")) .append(com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Basic_Px"))
.append(')'); .append(')');
}
return sb.toString(); return sb.toString();
} }

Loading…
Cancel
Save