mcqueccu Expert Licensed User Longtime User Mar 4, 2025 #1 In the Example Attached, I have a layout cellItem where I added 3 panels with height 250 and taking into consideration space at top and bottom of 10. Total of panels: 250 x 3 = 750 total of spaces: 10 x 2 = 20 Overal Total: 770dip. When I set the height as 770dip, B4J scrolls perfectly up to the last item but B4A and B4i crops the last item. B4J B4i B4A I added another panel (pnlMeasure and set its height to 770) in B4A. When I log its height int he code it gives 2611 1. How do I correctly get the measurement of my cellitem layout to use in the CLV 2. Which measurement does B4A uses that it gives me 2611 whiles the Designer is set to 770 Attachments Project.zip Project.zip 239 KB · Views: 302
In the Example Attached, I have a layout cellItem where I added 3 panels with height 250 and taking into consideration space at top and bottom of 10. Total of panels: 250 x 3 = 750 total of spaces: 10 x 2 = 20 Overal Total: 770dip. When I set the height as 770dip, B4J scrolls perfectly up to the last item but B4A and B4i crops the last item. B4J B4i B4A I added another panel (pnlMeasure and set its height to 770) in B4A. When I log its height int he code it gives 2611 1. How do I correctly get the measurement of my cellitem layout to use in the CLV 2. Which measurement does B4A uses that it gives me 2611 whiles the Designer is set to 770
klaus Expert Licensed User Longtime User Mar 4, 2025 #2 Comment AutoScale in the cellitem file in the Designer. Upvote 2 Solution
teddybear Well-Known Member Licensed User Mar 4, 2025 #3 The 770 in designer is 770dip, the 2611 you log is 770*scale Upvote 0