| Absolute and relative positions in SWTBotGefEditor [message #1090510] |
Tue, 20 August 2013 04:32  |
Helene Molliere Messages: 2 Registered: August 2013 |
Junior Member |
|
|
Hi,
I'm, a new user of SWTBot and I want to test a GEF editor. I can easily draw my components using the SWTBotGefEditor but I'm facing issues with relative positions in editor.click(x,y) and drag(fromX,fromY,toX,toY) methods.
As far as I understand, these positions are relative to the viewer, so they depends on the screen resolution. Am I right? Is there a way to easily translate an absolute position into a relative one?
Thanks
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.17666 seconds