Hi all,
I have had a problem with a layout I am trying to write.
I have a view for an RSS article, at the top I have a header section with the
title and the publish date.
Under this I want an area that will scroll when it fills up, with the article
content in a TextArea and an image above that.
It will look a bit like this:
<canvas>
<label />
<label />
</canvas>
<canvas>
<image/>
<textarea/>
</canvas>
The problem I have is that the textArea it's self will scroll, rather than
stretching the canvas (or VBox) that it's in.
Does anyone know how I can do this, as obviously I don't know the height to
make the textArea at compile time, and even at runtime it would be hard to
figure out. Setting it to 100% or with top and bottom values of 0 will only
make it as big as the available space.
I have tried turning off the scroll policies but then it's just cropped. I
guess I need a stretchToFixContnet=true property.
Thanks
Rob