C CidTek Active Member Licensed User Longtime User Mar 30, 2013 #1 In a 2 lines and bitmap ListView is there any method to calculate the baseline of the text in a label? Or calculate the position of the top of the text in the label? I want to vertically align some drawtext in the bitmap with the baseline or maybe align the the drawtext with the top of the text in the first label. The height of the text does not tell me where it is so that isn't much use. Last edited: Mar 30, 2013
In a 2 lines and bitmap ListView is there any method to calculate the baseline of the text in a label? Or calculate the position of the top of the text in the label? I want to vertically align some drawtext in the bitmap with the baseline or maybe align the the drawtext with the top of the text in the first label. The height of the text does not tell me where it is so that isn't much use.
Erel B4X founder Staff member Licensed User Longtime User Mar 30, 2013 #2 Unless your list is huge I recommend you to use CustomListView class. It will give you more control over the layout. Upvote 0
Unless your list is huge I recommend you to use CustomListView class. It will give you more control over the layout.