11-11-2009 11:26 AM
Im drawing a tooltip for all rows in a ListField.
The problem is when the list has only a few rows, then the tooltip gets cutted by the drawing region (extent or clipping rect??)
I've tried doing setExtent(getExtent().x, Display.getHeight()) and it doesnt work.
Any help, please?
11-11-2009 02:34 PM
You'll probably need to draw these tool tips from the paint() routine of the screen, rather the field. In this way, you can use the graphics context of the screen.
For example, override the paint() method of the screen:
protected void paint(Graphics g)
11-12-2009 08:31 AM
If you are drawing the tips using the graphics context of the screen (as suggested above), then your tips could not be clipped by anything other than the physical bounds of the screen. This is the largest drawing context available.
11-12-2009 09:07 AM