05-05-2011 11:53 AM
Hi i have a small issue with my custom listfield, i tried it across different simulators and it works fine on the storm, 8520 but on the 8900 or 9700 i get the rows overlap as in the image. I'm using setRowHeight upon list creation, i also tried to change values(putting numbers just to try) and on those devices nothing happens...has anyone idea of what it could be?
Solved! Go to Solution.
05-05-2011 01:49 PM
I have not seen this problem and have ListFields that work across all these devices.
I would guess this is a Font size issue. I would recommend that you set the ListField's row height dependent on the Font that you are using.
You can check the row height in your drawListRow method to make sure you are not going to overflow it too.
If this does not help, can you give us some code to review and/or try?
05-05-2011 05:17 PM - edited 05-05-2011 05:37 PM
Thanks peter, actually i set my row height as a negative number so it depends on font height but what's strange is that if i change it with any number (+ or neg) it doesn't change(both visually and checking with getRowHeight returns always the same(8520 return 18,9800 returns 27)....i'm sure i'm not calling setrowheight anywhere else in my code)!
05-05-2011 06:42 PM
Are you seeing this on the Simulator as well? if so which ones (OS Levels too please). Sounds like it should be easy to set up a little test program and replicate this.
08-22-2011 01:24 AM - edited 08-22-2011 01:25 AM
i am facing the same problem here...
could i trouble you to tell us how you solved the problem?
07-31-2012 03:22 AM
im facing the same problem and found this post. Could somebody be so kind and post the solution to this?
Thank you very much in advance.
07-31-2012 03:53 AM