Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » WizardDialog Questions
WizardDialog Questions [message #458969] Wed, 27 July 2005 14:37 Go to next message
Eclipse UserFriend
Originally posted by: john.obyrne.gmail.com

Hi,

I'm trying to have my WizardDialog have a minimum size, I have written this
very simple code
---------------------------------------
public static void main(String[] args) {
Display display = Display.getDefault();
Shell shell = new Shell(display);

WizardDialog dlg = new WizardDialog(shell, new MyWizard());
dlg.setMinimumPageSize(200,200);
dlg.open();

display.dispose();
}
---------------------------------------

Unfortunately, while the setPageSize method seems to work, the
setMinimumPageSize method, doesn't do anything... (I'm working on the Win32
platform) Is this a bug? I havent' seen any wizard with a minimum size in
Eclipse.

I also have another question concerning wizards: How to get rid of the
bottom empty vertical space (about 45 pixels height) present just above the
wizard buttons (which seems to be present on all Eclipse wizards)

Thanks for your answers,
John O'Byrne
Re: WizardDialog Questions [message #459773 is a reply to message #458969] Tue, 16 August 2005 08:45 Go to previous message
Eclipse UserFriend
Originally posted by: john.obyrne.gmail.com

I haven't found the answers yet, can anybody help?

Thanks,
John

"John O'Byrne" <john.obyrne@gmail.com> wrote in message
news:dc8685$5do$1@news.eclipse.org...
> Hi,
>
> I'm trying to have my WizardDialog have a minimum size, I have written
> this very simple code
> ---------------------------------------
> public static void main(String[] args) {
> Display display = Display.getDefault();
> Shell shell = new Shell(display);
>
> WizardDialog dlg = new WizardDialog(shell, new MyWizard());
> dlg.setMinimumPageSize(200,200);
> dlg.open();
>
> display.dispose();
> }
> ---------------------------------------
>
> Unfortunately, while the setPageSize method seems to work, the
> setMinimumPageSize method, doesn't do anything... (I'm working on the
> Win32 platform) Is this a bug? I havent' seen any wizard with a minimum
> size in Eclipse.
>
> I also have another question concerning wizards: How to get rid of the
> bottom empty vertical space (about 45 pixels height) present just above
> the wizard buttons (which seems to be present on all Eclipse wizards)
>
> Thanks for your answers,
> John O'Byrne
>
Previous Topic:How to control browser widget to print
Next Topic:How to open a menu by clicking a button?
Goto Forum:
  


Current Time: Wed May 12 06:10:19 GMT 2021

Powered by FUDForum. Page generated in 0.01401 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top