I created a flow field manager similar to the one below...
Code:
ffm = new FlowFieldManager(FlowFieldManager.VERTICAL_SCROLL|FlowFieldManager.HORIZONTAL_SCROLLBAR|FlowFieldManager.HORIZONTAL_SCROLL){
protected void sublayout(int maxWidth, int maxHeight)
{
//mySum is equal to about 687ish
super.sublayout(mySum, maxHeight);
setExtent(mySum, maxHeight);
}
};
and everything is fine, except that there is a huge blank space after the field. So then I tried this...
Code:
ffm = new FlowFieldManager(FlowFieldManager.VERTICAL_SCROLL|FlowFieldManager.HORIZONTAL_SCROLLBAR|FlowFieldManager.HORIZONTAL_SCROLL){
protected void sublayout(int maxWidth, int maxHeight)
{
//mySum is equal to about 687ish
super.sublayout(mySum, 400);
setExtent(mySum, 400);
}
};
and the entire thing disappears. The field only needs to be 280 pixels high. I thought that making the height a larger number than necessary would fix any issues. I don't understand why the flow field manager only seems to work when the height is maxHeight.
Please help.