Problem with ON_TOP and SHELL_TRIM [message #447248] |
Fri, 10 December 2004 00:07 |
Eclipse User |
|
|
|
Originally posted by: jason.workman.nextpage.com
Whenever I use the ON_TOP style, my title bar is narrow and I lose the MIN
and MAX versions. I just updated to 3.0.1 and did not have this problem
before.
Does anyone know of a fix or workaround?
Thanks.
public class TestMe
{
public static void main(String[] args)
{
Shell shell = new Shell(SWT.SHELL_TRIM | SWT.ON_TOP);
shell.open();
while (shell != null && !shell.isDisposed() && shell.isVisible())
{
if (!shell.getDisplay().readAndDispatch())
{
shell.getDisplay().sleep();
}
}
}
}
|
|
|
|
Re: Problem with ON_TOP and SHELL_TRIM [message #447371 is a reply to message #447265] |
Mon, 13 December 2004 22:35 |
Eclipse User |
|
|
|
Originally posted by: jason.workman.nextpage.com
It appears to be fixedin the latest stable build for 3.1. It is not fixed
in the 3.0.2 build.
I assume that I don't need to file a bug, correct? Is there a workaround
for 3.0.1 users?
Thanks
Steve Northover wrote:
> Sounds like a bug. Can you confirm that it is still happening in a nightly
> SWT build? If so, enter a bug report.
> "Jason Workman" <jason.workman@nextpage.com> wrote in message
> news:cpapb9$jg7$1@www.eclipse.org...
>> Whenever I use the ON_TOP style, my title bar is narrow and I lose the MIN
>> and MAX versions. I just updated to 3.0.1 and did not have this problem
>> before.
>>
>> Does anyone know of a fix or workaround?
>>
>> Thanks.
>>
>>
>>
>> public class TestMe
>> {
>> public static void main(String[] args)
>> {
>> Shell shell = new Shell(SWT.SHELL_TRIM | SWT.ON_TOP);
>> shell.open();
>> while (shell != null && !shell.isDisposed() && shell.isVisible())
>> {
>> if (!shell.getDisplay().readAndDispatch())
>> {
>> shell.getDisplay().sleep();
>> }
>> }
>> }
>> }
>>
>>
|
|
|
Re: Problem with ON_TOP and SHELL_TRIM [message #447374 is a reply to message #447265] |
Mon, 13 December 2004 23:24 |
Eclipse User |
|
|
|
Originally posted by: jason.workman.nextpage.com
It appears to be fixed in the latest build of 3.1. It is not working in
the 3.0.2 build. Should I still file a bug or no?
Is there a workaround for 3.0.1?
thanks
Steve Northover wrote:
> Sounds like a bug. Can you confirm that it is still happening in a nightly
> SWT build? If so, enter a bug report.
> "Jason Workman" <jason.workman@nextpage.com> wrote in message
> news:cpapb9$jg7$1@www.eclipse.org...
>> Whenever I use the ON_TOP style, my title bar is narrow and I lose the MIN
>> and MAX versions. I just updated to 3.0.1 and did not have this problem
>> before.
>>
>> Does anyone know of a fix or workaround?
>>
>> Thanks.
>>
>>
>>
>> public class TestMe
>> {
>> public static void main(String[] args)
>> {
>> Shell shell = new Shell(SWT.SHELL_TRIM | SWT.ON_TOP);
>> shell.open();
>> while (shell != null && !shell.isDisposed() && shell.isVisible())
>> {
>> if (!shell.getDisplay().readAndDispatch())
>> {
>> shell.getDisplay().sleep();
>> }
>> }
>> }
>> }
>>
>>
|
|
|
|
Powered by
FUDForum. Page generated in 0.05343 seconds