Increase amount of text on a listview

sarim123

Member
Licensed User
Longtime User
Hi everybody, i have an issue that ive been trying to fix for a while:BangHead:.
When I make a listview, i cant get more than two lines of text into each of the text "posts or breaks" I have attached the file if you want to run it and take a look. Thanks for your help. ss2.png

ss1.png
 

sarim123

Member
Licensed User
Longtime User
forgot

heres the project
 

Attachments

  • sarim123.zip
    42.1 KB · Views: 171
Upvote 0

NJDude

Expert
Licensed User
Longtime User
You can increase the height of a ListView like this:
B4X:
ltvTexts.SingleLineLayout.ItemHeight = 100dip
ltvTexts.SingleLineLayout.Label.Height = 100dip

Also, on the designer, set the Single Line property to FALSE for the edtText.
 
Upvote 0

sarim123

Member
Licensed User
Longtime User
Thanks!

Thanks NJDUDE!!!!! But how would i make it so the box gets bigger as the text is added. For example there is a small box for small amounts of text and big boxes for big amounts on texts. Thanks!!!!!!!!!!!!!!!!!!
 
Upvote 0
Top