J John Naylor Active Member Licensed User Longtime User Jun 16, 2023 #1 I have an xCustomListView which displays various panels. These panels are set to have a border round them. If I set the vertical anchor of one of these views to top & bottom, when it is displayed in the xCLV the bottom border is cut off. I can work around it by manually resizing the panel within the xCLV panel but that seems like an extra step that maybe I shouldn't have to take. Setting padding values doesn't seem to have any effect. Test project attached to demonstrate my issue. Have I missed something? Is this unavoidable and I should just stick to the workaround? TIA! Attachments Project.zip Project.zip 17.4 KB · Views: 345
I have an xCustomListView which displays various panels. These panels are set to have a border round them. If I set the vertical anchor of one of these views to top & bottom, when it is displayed in the xCLV the bottom border is cut off. I can work around it by manually resizing the panel within the xCLV panel but that seems like an extra step that maybe I shouldn't have to take. Setting padding values doesn't seem to have any effect. Test project attached to demonstrate my issue. Have I missed something? Is this unavoidable and I should just stick to the workaround? TIA!
LucaMs Expert Licensed User Longtime User Jun 16, 2023 #2 Please, test the one attached. I changed the variant. Attachments panelstrechsizelm.bal panelstrechsizelm.bal 2 KB · Views: 381 Upvote 1 Solution
J John Naylor Active Member Licensed User Longtime User Jun 16, 2023 #3 LucaMs said: Please, test the one attached. I changed the variant. Click to expand... Thankyou so much @LucaMs that has been driving me crazy for hours. I never once thought about changing the varient! Upvote 0
LucaMs said: Please, test the one attached. I changed the variant. Click to expand... Thankyou so much @LucaMs that has been driving me crazy for hours. I never once thought about changing the varient!
William Lancee Well-Known Member Licensed User Longtime User Jun 16, 2023 #4 As @LucaMs said (while I was testing) the problem is in the designer. The bottom anchor should be 10 from the bottom. Yours is 300. Make a variant or simply drag the bottom to achieve that. Upvote 0
As @LucaMs said (while I was testing) the problem is in the designer. The bottom anchor should be 10 from the bottom. Yours is 300. Make a variant or simply drag the bottom to achieve that.
J John Naylor Active Member Licensed User Longtime User Jun 16, 2023 #5 William Lancee said: As @LucaMs said (while I was testing) the problem is in the designer. The bottom anchor should be 10 from the bottom. Yours is 300. Make a variant or simply drag the bottom to achieve that. Click to expand... Also works perfectly - Just dragging the panel to the bottom of the designer. And this is why the B4X forum is the best! Upvote 0
William Lancee said: As @LucaMs said (while I was testing) the problem is in the designer. The bottom anchor should be 10 from the bottom. Yours is 300. Make a variant or simply drag the bottom to achieve that. Click to expand... Also works perfectly - Just dragging the panel to the bottom of the designer. And this is why the B4X forum is the best!
M Mahares Expert Licensed User Longtime User Jun 16, 2023 #6 John Naylor said: I never once thought about changing the varient! Click to expand... I really don't think you need to mess with the variant size. If you make the label and the panel with upper anchors only. No bottom anchors, you will see the bottom border. The problem is the top and bottom anchors of the label. Upvote 0
John Naylor said: I never once thought about changing the varient! Click to expand... I really don't think you need to mess with the variant size. If you make the label and the panel with upper anchors only. No bottom anchors, you will see the bottom border. The problem is the top and bottom anchors of the label.