|
|
|
@ -19,6 +19,7 @@ import com.fr.form.ui.container.WBodyLayoutType;
|
|
|
|
|
import com.fr.form.ui.container.WFitLayout; |
|
|
|
|
import com.fr.form.ui.container.WLayout; |
|
|
|
|
import com.fr.form.ui.widget.CRBoundsWidget; |
|
|
|
|
import com.fr.general.ComparatorUtils; |
|
|
|
|
import com.fr.general.FRLogger; |
|
|
|
|
import com.fr.general.FRScreen; |
|
|
|
|
import com.fr.stable.ArrayUtils; |
|
|
|
@ -1125,7 +1126,12 @@ public class XWFitLayout extends XLayoutContainer {
|
|
|
|
|
|
|
|
|
|
public Component getBottomComp(int x, int y, int h) { |
|
|
|
|
int val = getAcualInterval(); |
|
|
|
|
return this.getComponentAt(x, y+h+default_Length+val); |
|
|
|
|
Component comp = this.getComponentAt(x, y+h+default_Length+val); |
|
|
|
|
if (ComparatorUtils.equals(this, comp)) { |
|
|
|
|
// 如果获取组件等于自身 说明存在偏移 加上一个默认偏移量
|
|
|
|
|
return this.getComponentAt(x + default_Length, y+h+default_Length+val); |
|
|
|
|
} |
|
|
|
|
return comp; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public Component getRightTopComp(int x, int y, int w) { |
|
|
|
|