View Full Version : build wizard component problem

27 Feb 2009, 3:10 AM
Hi, I'm trying to build wizard component , which unlike all the other extensions I have found on the forums has a sidebar displaying the outline of all the steps. I have the component and it's working fine. in order to make it work properly, I made two new classes, Wizard and WizardLayout (extends CardLayout). I tried to use the original CardLayout but I was never able to make it work properly .

when the component which contains my wizard is resized, the layout is calculated wrong and all the content of the wizard is crunched up in 30px or so at the top, leaving the rest of the component area empty. I have attached a test case that demonstrates the problem (unzip it at the root of a fresh extjs install, and open wizard-problem.html). If you resize the window vertically, the layout of the wizard will be calculated correctly. If you resize the window horizontally, the layout will also work fine, as long as you make the window wider. If you make the window smaller, the layout will become borked. However, if you make it smaller a second time, it will be alright. If you make it even smaller, it will become borked again .

Can anybody help me ?

27 Feb 2009, 8:24 AM
See http://extjs.com/learn/Ext_Forum_Help and