PDA

View Full Version : Panel.setHeight buggy in 3.3.1 ??



fendrikat
11 Sep 2011, 9:46 AM
Hi all,

..so I spent some hours and finally got to the point that:


oPar.setHeight( iNewH );

will not work, even thought the docs say it should, while this:


oPar.height = iNewH;

works perfect fine.

Where oPar is a Panel.

I would call it a bug, but at least there is a way to deal with it.

Frank

Uberdude
12 Sep 2011, 1:43 AM
setHeight works for me in 3.3.0. Could you post a complete reproducable test case? Is your panel in a container with a layout manager etc?