- Jun 6, 2020
- 11,576
- 4,480
I needed one hour to find out, what is the reason for a strange behavior in my code. Now I think I can prove that this is a bug:
I use the Scrollview to offer a variing number of objects. Of course the Innerheight() of the Scrollview should exactly fit the object. So I change ScrollView.Panel.Height after adding or removing objects. But the Innerheight is not updates and keep as it was before. Sometimes bigger as needed, sometimes to small.
This is a minimal example that shows the behavior:
B4X:
I use the Scrollview to offer a variing number of objects. Of course the Innerheight() of the Scrollview should exactly fit the object. So I change ScrollView.Panel.Height after adding or removing objects. But the Innerheight is not updates and keep as it was before. Sometimes bigger as needed, sometimes to small.
This is a minimal example that shows the behavior:
B4X:
کد:
محتوای بلوک کدها در دسترس شما نیست. برای مشاهده بلوک کدها، وارد انجمن شوید یاثبت نام کنید
برای دیدن لینک ها باید ثبت نام کنید
برای دیدن لینک ها باید ثبت نام کنید