B4J Question How can I get the maximum width and maximum height of a TextFlow?

MrKim

Well-Known Member
Licensed User
Longtime User
The Title says it all. I need to set the width and height of the panel so the text fits wwithout wrapping.
 

MrKim

Well-Known Member
Licensed User
Longtime User
I have used that before, but in this case I will have text of different sizes even on the same line. I suppose I can get the width of each portion of text and add them up to see which line is the longest.
I would have used BBCodeView for this.
I played with this for awhile as I recall it was overly complicated to get what I want and very slow. Also, I believe I couldn't get it to drag and drop either, But I have also found that a Pane set as a TextFlow will not drag and drop. I had to put it on another pane.
I am adding 1 to ~100 of these to a listview and there can be 1 to 20 or 30 listviews. Each item needs to be able to be dragged and dropped to the location of any of the others.
 
Upvote 0
Top