J jemajuca Member Licensed User Feb 25, 2018 #1 I can resize the width an height of the text window (customlistview) but I can't find the manner to set the left and top position by code for this one as I do for other items. Is there a different manner for positioning it?
I can resize the width an height of the text window (customlistview) but I can't find the manner to set the left and top position by code for this one as I do for other items. Is there a different manner for positioning it?
Erel B4X founder Staff member Licensed User Longtime User Feb 26, 2018 #2 Are you adding the items with AddTextItem? This line from InsertAtTextItem sets the label position: B4X: pnl.AddView(lbl, 5dip, 2dip, sv.ScrollViewContentWidth - 10dip, lbl.Height) It is from the latest xCustomListView class. Upvote 0
Are you adding the items with AddTextItem? This line from InsertAtTextItem sets the label position: B4X: pnl.AddView(lbl, 5dip, 2dip, sv.ScrollViewContentWidth - 10dip, lbl.Height) It is from the latest xCustomListView class.
J jemajuca Member Licensed User Mar 6, 2018 #3 Hi Erel, it doesn't work for me. I'm including the text window this way: B4X: txtTextHelp.AddTextItem(strText,"Help1") Upvote 0
Hi Erel, it doesn't work for me. I'm including the text window this way: B4X: txtTextHelp.AddTextItem(strText,"Help1")
Erel B4X founder Staff member Licensed User Longtime User Mar 6, 2018 #4 What I meant to say is that you can change xCustomListView code and change the label position. Upvote 0