Hi Andrei,
The resize effect will attempt to resize the element you pass as well
as all of it's components - that's why it's checking to see if it can
determine the widths etc for each component (and will fail if the
browser just tells it it is "auto", as there's no way for it to
understand what that actually means in terms of a number to scale
from).
If you're just after changing the dimensions of your FlowPanel, then
I'd suggest best to use a NMorphStyle effect with two rules, for
example to change the dimensions from 600x300 to 200x800, you could do
something similar to (where content is your FlowPanel):
// Define some css style rules
Rule start = new Rule("s{width:600px; height:300px;}");
Rule end = new Rule("e{width:200px; height:800px;}");
// Create and apply the effect
NMorphStyle changeSize = new NMorphStyle(content.getElement(),
start, end);
// play the effect
changeSize.play(0.0, 1.0);
Hope that helps!
//Adam