Browse Source

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

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

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

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

Loading…
Cancel
Save