O ondesic Active Member Licensed User Longtime User Sep 10, 2011 #1 Two bugs: 1) Right now if you change the settings of the lsv.SingleLineLayout.ItemHeight to, say 30, the highlight rectangle doesn't change with it. In fact, on a smaller resolution device, selecting one item can high light 3. The highlight needs to scale with he itemheight. 2) along the lines above, many times when your finger comes off an item, the listview doesn't redraw right, and all the lighlighted area outside the item stays highlighted. Here is a picture of the two cases: Please fix this Thanks Attachments test1.png 1.5 KB · Views: 487 test2.png 1.5 KB · Views: 512
Two bugs: 1) Right now if you change the settings of the lsv.SingleLineLayout.ItemHeight to, say 30, the highlight rectangle doesn't change with it. In fact, on a smaller resolution device, selecting one item can high light 3. The highlight needs to scale with he itemheight. 2) along the lines above, many times when your finger comes off an item, the listview doesn't redraw right, and all the lighlighted area outside the item stays highlighted. Here is a picture of the two cases: Please fix this Thanks
tremara1 Active Member Licensed User Longtime User Sep 10, 2011 #2 Try This Try also setting the label height.. Code: lsv.SingleLineLayout.label.height = 30
O ondesic Active Member Licensed User Longtime User Sep 10, 2011 #3 tremara1, The label height changes with lsv.SingleLineLayout.ItemHeight as well as lsv.SingleLineLayout.label.height. They are basically the same. Adding the code did nothing to fix the highlight bug. Thanks though.
tremara1, The label height changes with lsv.SingleLineLayout.ItemHeight as well as lsv.SingleLineLayout.label.height. They are basically the same. Adding the code did nothing to fix the highlight bug. Thanks though.
Erel B4X founder Staff member Licensed User Longtime User Sep 11, 2011 #4 Have you set the item height before adding the items?
O ondesic Active Member Licensed User Longtime User Sep 14, 2011 #5 Erel, Yes, I have set the item height before adding. I have also tried it the othr way. Both give the same effect
Erel, Yes, I have set the item height before adding. I have also tried it the othr way. Both give the same effect
Erel B4X founder Staff member Licensed User Longtime User Sep 14, 2011 #6 I cannot reproduce it. Can you upload a small program that demonstrates this issue?