|
|
|
@ -126,6 +126,7 @@ public class FRTitleLayout implements FRLayoutManager, LayoutManager{
|
|
|
|
|
int titleH = title==null ? 0 : WTitleLayout.TITLE_HEIGHT; |
|
|
|
|
for (int i=0; i< target.getComponentCount(); i++) { |
|
|
|
|
Component comp = target.getComponent(i); |
|
|
|
|
if (comp != null) { |
|
|
|
|
if (comp == title) { |
|
|
|
|
comp.setBounds(0, 0, width, WTitleLayout.TITLE_HEIGHT); |
|
|
|
|
} else if (comp == body) { |
|
|
|
@ -135,6 +136,7 @@ public class FRTitleLayout implements FRLayoutManager, LayoutManager{
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public Object getConstraints(Component comp) { |
|
|
|
|
if (comp == null){ |
|
|
|
|