View Single Post
Old 05-20-2008, 08:09 AM   #31
CELITE
Thumbs Must Hurt
 
Join Date: Dec 2005
Model: 8310
Carrier: Rogers
Posts: 138
Default

Fixed it. I forgot to add a critical line to the sublayout routine:

Code:
protected void sublayout( int width, int height ) {
    int displayWidth = Display.getWidth();    // I would probably make these global
    int displayHeight = Display.getHeight();
    
    super.sublayout( displayWidth, displayHeight );
    setExtent( displayWIdth, displayHeight );
}


Try that out. It should work.


Ahhhh new problem with nothing painting at all. I'll look into it.

Last edited by CELITE; 05-20-2008 at 08:17 AM..
Offline   Reply With Quote