H Hanz Active Member Jul 2, 2021 #1 Hello, Do we have a label, for b4a, suitable for paragraph and initially does not show the entire paragraph, maybe, half of it, then, it has at the end "read more" and when you click it, that's the time it will show the rest?
Hello, Do we have a label, for b4a, suitable for paragraph and initially does not show the entire paragraph, maybe, half of it, then, it has at the end "read more" and when you click it, that's the time it will show the rest?
Erel B4X founder Staff member Licensed User Longtime User Jul 4, 2021 #2 This will never be a built-in feature of a label. You need to implement it yourself. You can build such custom view quite easily. You just need a panel with two labels. Measure the required height with StringUtils. If the parent panel is too short then show the second label with the Read More text. It should also have a vertical gradient. Upvote 0
This will never be a built-in feature of a label. You need to implement it yourself. You can build such custom view quite easily. You just need a panel with two labels. Measure the required height with StringUtils. If the parent panel is too short then show the second label with the Read More text. It should also have a vertical gradient.
aeric Expert Licensed User Longtime User Jul 4, 2021 #3 Erel said: It should also have a vertical gradient. Click to expand... Why a vertical gradient? Does it indicates any meaning? Edit: You mean blurring the bottom part of the paragraph label so it look there are more content? I first thought to use vertical gradient on the “Read more” label. ? Upvote 0
Erel said: It should also have a vertical gradient. Click to expand... Why a vertical gradient? Does it indicates any meaning? Edit: You mean blurring the bottom part of the paragraph label so it look there are more content? I first thought to use vertical gradient on the “Read more” label. ?
Erel B4X founder Staff member Licensed User Longtime User Jul 4, 2021 #4 aeric said: You mean blurring the bottom part of the paragraph label so it look there are more content? I first thought to use vertical gradient on the “Read more” label Click to expand... Yes. Upvote 0
aeric said: You mean blurring the bottom part of the paragraph label so it look there are more content? I first thought to use vertical gradient on the “Read more” label Click to expand... Yes.