|
|
|
@ -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(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(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|