On 05.02.16 10:52, Alexandr Scherbatiy wrote:

   The first approach is to rescale only frame size on native level so
     newNativeWindow.size = newScale *  javaWindow.size

What location will be in this approach? Does the native app work in the similar way(changes the size only)?

   This allows to leave the nativeWindow.location unchanged but the rule
     nativeWindow.location = newScale * javaWindow.location
   will be broken in this case.

   The proposed fix explicitly rescales javaWindow.location in
WWindowPeer so
   nativeWindow.location = prevScale * prevJavaWindow.location =
newScale * newJavaWindow.location

  Thanks,
  Alexandr.



--
Best regards, Sergey.

Reply via email to