PDA

View Full Version : initially hidden panel not rendered properly



bhomass
5 Nov 2009, 3:32 PM
I have a panel with table layout which normally displays ok.

when I tried to start in hidden state and then call show(), it becomes misaligned with pieces missing.

I tried overriding the show() method


show: function(){
Ext.Panel.superclass.show.call(this);
this.doLayout();
}

it still comes out wrong.

is there a way to force it to render properly even when it starts out hidden?

Animal
6 Nov 2009, 12:24 AM
Post help requests in the appropriate forum.

Ext 2.0 Help or Ext 3.0?

But you should know by now that using hideMode: 'offsets' often avoids problems like this.

bhomass
6 Nov 2009, 2:03 PM
that's right. I remember reading about that once.

thanks so much. that was what I needed.