J Juzer Hussain Active Member Licensed User Longtime User Nov 27, 2021 #1 Hi Freinds, I have a CLV inside a scrollview2d. This because the text item inside the clv can vary in length. To get a scrollbar i added clv instead of a label. The issue is clv does not scroll. When i try the container sv2d scrolls. Is there any way out for this. Pls give some clue. Thank Juzer
Hi Freinds, I have a CLV inside a scrollview2d. This because the text item inside the clv can vary in length. To get a scrollbar i added clv instead of a label. The issue is clv does not scroll. When i try the container sv2d scrolls. Is there any way out for this. Pls give some clue. Thank Juzer
M Mahares Expert Licensed User Longtime User Nov 27, 2021 #2 Juzer Hussain said: This because the text item inside the clv can vary in length. Click to expand... Based on your post, if the label text changed in length for every item , your solution would be to use: clv1.AddTextItem(... The item will be shown in its entirety regardless of its length. And, you do not have to worry about a 2D scrollview. If you have more than one label to deal with in the items layout, then that is a different story. If your post is not explaining everything, then post your code or what you want to accomplish more clearly. Upvote 0
Juzer Hussain said: This because the text item inside the clv can vary in length. Click to expand... Based on your post, if the label text changed in length for every item , your solution would be to use: clv1.AddTextItem(... The item will be shown in its entirety regardless of its length. And, you do not have to worry about a 2D scrollview. If you have more than one label to deal with in the items layout, then that is a different story. If your post is not explaining everything, then post your code or what you want to accomplish more clearly.
J Juzer Hussain Active Member Licensed User Longtime User Nov 27, 2021 #3 Thanks Mahares, Yes other labels also are there. At the bottom i have clv. Text is coming fully but only top 2 lines are visible due to less height of clv. Upvote 0
Thanks Mahares, Yes other labels also are there. At the bottom i have clv. Text is coming fully but only top 2 lines are visible due to less height of clv.