Disable shell resize [message #459951] |
Sun, 21 August 2005 04:24 |
Eclipse User |
|
|
|
Originally posted by: ignorante.ignorante.com
Is there a way to disable the shell resize ?
I've been looking for that, but no body says something specifically for
this case.
I dont want that the shell can change of size, no bigger, no smaller of
the original size.
Thanks
|
|
|
|
Re: Disable shell resize [message #460418 is a reply to message #459962] |
Thu, 25 August 2005 16:43 |
Eclipse User |
|
|
|
Originally posted by: ignorante.ignorante.com
Well, it continues resizing, and by the way, i want to it doesnt
maximisize, too.
the lines are:
sShell = new Shell(SWT.ON_TOP | SWT.SHELL_TRIM | SWT.CLOSE | SWT.TITLE);
|
|
|
|
Re: Disable shell resize [message #460423 is a reply to message #460422] |
Thu, 25 August 2005 18:29 |
Eclipse User |
|
|
|
Originally posted by: ignorante.ignorante.com
It works Great!
I was really stupid XD
I never notice that about SWT.SHELL_TRIM
Thanks :D
sShell = new Shell(SWT.ON_TOP | SWT.CLOSE | SWT.TITLE);
|
|
|
Re: Disable shell resize [message #460431 is a reply to message #460423] |
Fri, 26 August 2005 09:33 |
Eclipse User |
|
|
|
Originally posted by: peter.schuebl.learning-media.net
> sShell = new Shell(SWT.ON_TOP | SWT.CLOSE | SWT.TITLE);
just for the record - you could switch of the RESIZE flag using
sShell = new Shell(SWT.SHELL_TRIM & ~ SWT.RESIZE);
|
|
|
Powered by
FUDForum. Page generated in 0.03566 seconds