View Full Version : Panel and Viewport

6 Nov 2010, 4:23 AM

I have just bought Ext Designer. I have defined a very simple class MyPanel and I want to show it in my viewport. Everything is very simple but the Panel does not show.

This is probably a simple solution but I could not find the problem.

Can you help me ???

6 Nov 2010, 4:35 AM
MyPanel is a class. If you want to use it in a viewport you will have to create an instance of it.

items: [new MyPanel()]

6 Nov 2010, 4:39 AM
Thank you very much. It worked