-
|
Hello, I have a document that the user can move and resize. So when that happens I move the document into view like so: So far so good, the document moves to the new position.
What's the proper way to move a document? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
|
Beta Was this translation helpful? Give feedback.
SetOffsetis more of an internal function, I can certainly see how that is confusing. Instead, you should set the position of the document using RCSS properties, as the document is essentially just a normal, absolutely positioned element. In particular set thetop,leftproperties to move the window, andwidth,heightorright,bottomto size the window.