Browse Source

REPORT-44803 参数面板拖动组件大小右侧不能跟随显示大小--来源【客户需求 508884】

【问题原因】release已验收,传一份到final,10.0.12.1中间版本发布
【改动思路】release已验收,传一份到final,10.0.12.1中间版本发布
final/10.0
Yvan 4 years ago
parent
commit
176e3b6387
  1. 4
      designer-form/src/main/java/com/fr/design/mainframe/FormDesignerUI.java

4
designer-form/src/main/java/com/fr/design/mainframe/FormDesignerUI.java

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

Loading…
Cancel
Save