B4X FEED CLV tree view image size

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

درباره موضوع در تاریخ, در دسته b4xfeed ایجاد شده و آغاز کننده آن practicalsoftمی باشد و موضوع آن: CLV tree view image size است. این موضوع تا کنون 34 بازدید کننده و, 0 پاسخ داشته و 0 بار پسندیده شده...
نام دسته b4xfeed
نام موضوع CLV tree view image size
آغاز کننده موضوع practicalsoft
تاریخ شروع
پاسخ‌ها
0
بازدیدها
34
پسندها
0
آخرین ارسال توسط PracticalSoft
Jun 6, 2020
11,559
4,422
I'm trying to replicate Erel's JSON tree parser for incorporation into my app, but hitting a slight snag. See images below.

برای دیدن تصاویر باید ثبت نام کنید


Image on the right users CustomListView in Designer. Image on right is Ere's original JsonTree that uses the old TreeView and Scene Builder.

Here's the thing: I grabbed the three image files (green, blue, red) used in the original, wanting the same look. But CustomListView insists on enlarging this small 16x16 bitmaps, and no matter what I do I cannot seem to change their size to look more like the original. I can reduce the height of the tree panels with Tree.DefaultHeight, but this only crops the images rather than resize them. Image.resize seems to do nothing, even with a tree.refresh.

No doubt something "obvious", but if anyone knows how to change the way CLV displays those images it would save me some headache.

 

عقب
بالا