Auto scrolling issue
Hello I know this has been addressed before but the previous thread is still unanswered and no proper solutution was provided for it.
Basically, I am trying to have a form that has a container set to center with borderlayout and a textfield also added to that form with borderlayout south.
Now, I want to be able to add components on the go to that container. I.e when I fill in the textfield with some text and press a firebutton, i want the component to be added to the container.
I tried doing that but for some reason, when I say added the 11th textarea to the container, the container wont scroll to the last one I added. i assume this is normal since it is the normal behaviour. I read the other posts and SHAI suggested to extend the container and call the scrollcomponenttovisible method when i add a new component and to make sure that the parent form scrolling is set to false and that the container's scrolling is set to true.
I tried that but it won't work. Anyone had any issue with this. I also tried using a list but lists have the same row heights which is kind of restrictive for me. Any help would be greatly appreciated.