Zooming not working in 2.1.1 [message #1132840] |
Fri, 11 October 2013 12:21 |
Flavio Donze Messages: 211 Registered: July 2009 Location: Switzerland |
Senior Member |
|
|
Hello
I'm updating our application from RAP 1.4.2 to 2.1.1.
I have a command handler which zooms the rap application (only in IE), this is the Javascript I use:
"window.parent.document.body.style.zoom=1.2;"
In RAP 1.4.2 executed as:
org.eclipse.rwt.internal.widgets.JSExecutor.executeJS(script);
and in RAP 2.1.1 executed as:
JavaScriptExecutor javaScriptExecutor = RWT.getClient().getService(JavaScriptExecutor.class);
javaScriptExecutor.execute(script);
In RAP 2.1.1 this is not working anymore.
I tried another zoom, but the result is not the same, the RAP application is scaled really bad.
"window.parent.document.body.style.transform = 'scale(1.2)';"
Searching the forum I came across this thread http://www.eclipse.org/forums/index.php/t/366381/,
maybe there is a way to enabled zooming even if it is not working clean?
Or maybe these two topics are not related at all...
Is there some zooming functionality already implemented in RAP and I did not find it?
Thanks for any help/hint
Flavio
Prozessmanagement und Qualitätsmanagement Software QMS/IMS
https://www.scodi.ch
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03599 seconds