[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.platform.swt] Re: How to size the width of a wizard when message is very long
|
If you open the WizardDialog manually, you can use like this:
WizardDialog dialog = new WizardDialog(window.getShell(), wizard);
dialog.setPageSize(500, 500);
dialog.setMinimumPageSize(400, 400);
Hi,
I have an org.eclipse.jface.wizard.Wizard wizard that have 2
org.eclipse.jface.wizard.WizardPage pages. One of them have a very long
message telling the user what to do on the page. I use the setMessage()
in the createControl(...) to set the message. I use
org.eclipse.jface.wizard.WizardDialog to launch the wizard.
Because the message is so long, the wizard opens to the full width of my
screen when it starts. I don't have much inside the page client area -
only a number of buttons. So a 400x300 area is plenty. I have tried to
use the setPageSize(...) of the WizardDialog to set the size before
opening the wizard, but it didn't work.
Is there a way to workaround the problem?
Thanks in advance,
Jason
Hi,
I have an org.eclipse.jface.wizard.Wizard wizard that have 2
org.eclipse.jface.wizard.WizardPage pages. One of them have a very long
message telling the user what to do on the page. I use the setMessage()
in the createControl(...) to set the message. I use
org.eclipse.jface.wizard.WizardDialog to launch the wizard.
Because the message is so long, the wizard opens to the full width of my
screen when it starts. I don't have much inside the page client area -
only a number of buttons. So a 400x300 area is plenty. I have tried to
use the setPageSize(...) of the WizardDialog to set the size before
opening the wizard, but it didn't work.
Is there a way to workaround the problem?
Thanks in advance,
Jason