B4X FEED CLV height

اطلاعات موضوع

درباره موضوع در تاریخ, در دسته b4xfeed ایجاد شده و آغاز کننده آن practicalsoftمی باشد و موضوع آن: CLV height است. این موضوع تا کنون 26 بازدید کننده و, 0 پاسخ داشته و 0 بار پسندیده شده...
نام دسته b4xfeed
نام موضوع CLV height
آغاز کننده موضوع practicalsoft
تاریخ شروع
پاسخ‌ها
0
بازدیدها
26
پسندها
0
آخرین ارسال توسط PracticalSoft
Jun 6, 2020
11,559
4,422
I confused about how to set the height of a custom list view.
In the designer, I have a panel which has a CLV on it. The panel serves as a visual border.
When I populate the list view, I want to increase the height based on how many items are in it, so all items are visible, and also increase the panel height.
The panel height increases as expected, but the CLV height does not. I'm using clv1.GetBase.Height = xxx.
I'm unclear when this isn't working.

I did read something about the CLV height being automatically set based on number and size of items added, but that does not seem to work correctly.
In the designer, I can increase/decrease the height of the CLV and it shows what I want, but I need to change it dynamically in code.

 

عقب
بالا