Community
Participate
Working Groups
Version: 3.1.0 Build id: I20050112-1200 I have a wizard (subclassing Wizard and using WizardDialog) and would like to have a multiline description ('setDescription(..)') for one of the pages. Unfortunately the description is not wrapped but the window is enlarged.
From the description, am I correct in assuming this is a wizard where you are using your own action to make the wizard appear? If so, you can set the size of the wizard in your action's run() method: WizardDialog dialog = new WizardDialog(null, wizard); dialog.create(); dialog.getShell().setSize(width, height); dialog.open(); Where the width and height are perhaps a minimum of some set number and the actual size of the dialog. e.g. width = Math.min(500, dialog.getShell().getSize().x); This will prevent the wacky sizing. It may just be a workaround for now - I am not sure yet if/what we can do about dialog sizing in the case where the description is long.
works for me in Eclispe 3.3 I20060922-0010 using the strategy in #c1.