 |
Slick Zombie |
Joined: Fri Jan 29, 2010 7:02 pm Posts: 1242
|
By default ResizableFrame's layout() method calls layoutChildFullInnerArea() for each children, so you don't really need to override the layout method if this is what you want.
But with the amount of information you posted I can't help you at all.
Make sure that you only call setSize/setPosition of Widgets which are direct children. You can try to debug that by setting a break point on childInvalidateLayout() to see from where it is invoked.
One thing to check is the getPreferredHeight() on the TextArea, currently TextArea calls invalidateLayout() when it's required height doesn't match it's actual size. The reason for this is that the height depends on it's width (flow text). Normally this is not an issue when it's placed inside a ScrollPane.
|
|