|
|
Re: RAP 2.2 Resize does not work [message #1109048 is a reply to message #1108786] |
Sat, 14 September 2013 20:59 |
|
Hi Ivan,
Thanks for checking and reporting the issue.
And by the way, you guys have done great job with these 2.x releases, a thumb up and many thanks.
Cheers, Bruno
PS: if it might be of some help to anyone, here is the entire snippet I add at the end of the WorkbenchWondowAdviser.preWindowOpen( ) method :
Display.getCurrent().addListener(SWT.Resize, new Listener() {
@Override
public void handleEvent(Event event) {
Rectangle bounds = event.display.getBounds();
IWorkbenchWindow iww = UIPlugin.getDefault().getWorkbench()
.getActiveWorkbenchWindow();
iww.getShell().setBounds(bounds);
}
});
... Not very difficult once we have Ivan's tip
|
|
|
Re: RAP 2.2 Resize does not work [message #1109379 is a reply to message #1109048] |
Sun, 15 September 2013 09:44 |
Ivan Furnadjiev Messages: 2427 Registered: July 2009 Location: Sofia, Bulgaria |
Senior Member |
|
|
Hi Bruno,
the issue is fixed in git master.
Best,
Ivan
On 9/14/2013 11:59 PM, Bruno Sinou wrote:
> Hi Ivan,
> Thanks for checking and reporting the issue.
> And by the way, you guys have done great job with these 2.x releases,
> a thumb up and many thanks.
>
> Cheers, Bruno
>
>
> PS: if it might be of some help to anyone, here is the entire snippet
> I add at the end of the WorkbenchWondowAdviser.preWindowOpen( ) method :
>
>
> Display.getCurrent().addListener(SWT.Resize, new Listener() {
> @Override
> public void handleEvent(Event event) {
> Rectangle bounds = event.display.getBounds();
> IWorkbenchWindow iww = UIPlugin.getDefault().getWorkbench()
> .getActiveWorkbenchWindow();
> iww.getShell().setBounds(bounds);
> }
> });
>
> .. Not very difficult once we have Ivan's tip
--
Ivan Furnadjiev
Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/
Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
|
|
|
Powered by
FUDForum. Page generated in 0.04181 seconds