Browse Source

REPORT-5484 编辑调整控件高度 不自适应问题

master
kerry 7 years ago
parent
commit
784a486ac1
  1. 2
      designer_form/src/com/fr/design/widget/ui/designer/component/WidgetBoundPane.java

2
designer_form/src/com/fr/design/widget/ui/designer/component/WidgetBoundPane.java

@ -143,8 +143,8 @@ public class WidgetBoundPane extends BasicPane {
difference = bounds.height - h; difference = bounds.height - h;
bounds.height = h; bounds.height = h;
} }
height.setValue(bounds.height);
wabs.setBounds(creator.toData(), bounds); wabs.setBounds(creator.toData(), bounds);
creator.setBounds(bounds);
adjustComponents(bounds, difference, 1); adjustComponents(bounds, difference, 1);
} }

Loading…
Cancel
Save