Otto Tentacle
New Member
Hi I'm tinkering with B4J to see what it can do. As one of my little projects I was trying out different ways of showing data in a ListView. I've tried two variants of the same idea - one using an AnchorPane with a Label to show data and one using an AnchorPane with a TextArea to show data. When using a Label it is possible set the height property in AddNode to 0 or -1 and the Label for each row will autosize based on the contents. However, when using a TextArea this doesn't work - each row is the same size and much too big for the contained data. I've attached a file to show this behavior.
Have I done something wrong or is this normal?
Using a TextArea is more useful than a Label so is there some other way to make this work?
Thanks
Have I done something wrong or is this normal?
Using a TextArea is more useful than a Label so is there some other way to make this work?
Thanks