why the toolbar can move to the bottom of the window? [message #436033] |
Mon, 10 May 2004 02:12 |
Eclipse User |
|
|
|
Originally posted by: Hongu.accelcion.com
.......
ToolBar toolBar = new ToolBar(avp.getShell(), SWT.VERTICAL);
........
Originally I put the toolbar on the left of the window.But if keep
the window running for a long time,the toolbar move to the bottom of the
window .
what is the reason?
in addition,In my programm,it open a child window when the main
window opened.But after a long time ,the two windows merge into only a
window,the child window at the bottom of the main window too?why?
|
|
|
Re: why the toolbar can move to the bottom of the window? [message #436207 is a reply to message #436033] |
Wed, 12 May 2004 23:22 |
Daniel Spiewak Messages: 263 Registered: July 2009 |
Senior Member |
|
|
Sounds like a problem with the layout manager you're using. If it's a
custom layout manager, check over your code carefully. I'd set some
break points and monitor the values passed into the layout(Composite,
boolean) method very closely. If it is a layout which comes with SWT
(i.e. a member of the org.eclipse.swt.layout package), then check your
configuration.
Daniel
lhw wrote:
> .......
>
> ToolBar toolBar = new ToolBar(avp.getShell(), SWT.VERTICAL);
>
> ........
>
> Originally I put the toolbar on the left of the window.But if keep
>the window running for a long time,the toolbar move to the bottom of the
>window .
>
>what is the reason?
>
> in addition,In my programm,it open a child window when the main
>window opened.But after a long time ,the two windows merge into only a
>window,the child window at the bottom of the main window too?why?
>
>
>
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.02424 seconds