|
|
|
@ -177,13 +177,13 @@ public class FormDesignerUI extends ComponentUI {
|
|
|
|
|
if (k == 1 || k == 2) { |
|
|
|
|
x1 = 0; |
|
|
|
|
x2 = 6; |
|
|
|
|
y2 = y1 = bounds.y - designer.getArea().getVerticalValue() + (k == 1 ? 0 : bounds.height); |
|
|
|
|
text = Utils.objectToString(y1 + designer.getArea().getVerticalValue()); |
|
|
|
|
y2 = y1 = bounds.y - designer.getVerticalScaleValue() + (k == 1 ? 0 : bounds.height); |
|
|
|
|
text = Utils.objectToString(bounds.y); |
|
|
|
|
} else { |
|
|
|
|
y1 = 0; |
|
|
|
|
y2 = 6; |
|
|
|
|
x1 = x2 = bounds.x - designer.getArea().getHorizontalValue() + (k == 3 ? 0 : bounds.width); |
|
|
|
|
text = Utils.objectToString(x1 + designer.getArea().getHorizontalValue()); |
|
|
|
|
x1 = x2 = bounds.x - designer.getHorizontalScaleValue()+ (k == 3 ? 0 : bounds.width); |
|
|
|
|
text = Utils.objectToString(bounds.x); |
|
|
|
|
} |
|
|
|
|
text += com.fr.design.i18n.Toolkit.i18nText("Fine-Design_Form_Indent_Pixel"); |
|
|
|
|
g2d.setColor(XCreatorConstants.RESIZE_BOX_BORDER_COLOR); |
|
|
|
|