Browse Source

REPORT-7588 绝对画布块和另一个组件一起移动时,绝对化布块里的组件会缩小 同步到10.0

feature/big-screen
hades 5 years ago
parent
commit
256bec10b6
  1. 8
      designer-form/src/main/java/com/fr/design/mainframe/FormSelection.java

8
designer-form/src/main/java/com/fr/design/mainframe/FormSelection.java

@ -265,12 +265,18 @@ public class FormSelection {
* @param designer 设计界面组件
*/
public void fixCreator(FormDesigner designer) {
int i = 0;
for (XCreator creator : selection) {
LayoutAdapter layoutAdapter = AdapterBus.searchLayoutAdapter(designer, creator);
if (layoutAdapter != null) {
creator.setBackupBound(backupBounds);
if (creator.acceptType(XWAbsoluteLayout.class) && recs.size() > i) {
creator.setBackupBound(recs.get(i));
} else {
creator.setBackupBound(backupBounds);
}
layoutAdapter.fix(creator);
}
i++;
}
}

Loading…
Cancel
Save