Browse Source

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

Merge in DESIGN/design from ~YVAN/design:final/10.0 to final/10.0

* commit 'ab1fcbf7eb191a6906998bd2a0a7346e56cfa703':
  REPORT-44803 参数面板拖动组件大小右侧不能跟随显示大小--来源【客户需求 508884】 【问题原因】release已验收,传一份到final,10.0.12.1中间版本发布 【改动思路】release已验收,传一份到final,10.0.12.1中间版本发布
final/10.0
Kara 4 years ago
parent
commit
58511a5ec8
  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;
x2 = 6;
y2 = y1 = bounds.y - designer.getVerticalScaleValue() + (k == 1 ? 0 : bounds.height);
text = Utils.objectToString(bounds.y);
text = Utils.objectToString(y1 + designer.getVerticalScaleValue());
} else {
y1 = 0;
y2 = 6;
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");
g2d.setColor(XCreatorConstants.RESIZE_BOX_BORDER_COLOR);

Loading…
Cancel
Save