Files
odfstudio/wizards/source/scriptforge
Jean-Pierre Ledure 7c8e9db0e4 ScriptForge - (SF_Dialog) new Resize() and Center() methods
The "dialog" service receives 2 new methods for easy
move/resize of the concerned dialog.

Resize(left, top, widt, height)
  Move the topleft corner of a dialog to new coordinates and/or modify its dimensions
  All distances are expressed in 1/100th mm
  Without arguments, the method resets the initial width and height

Center(window)
  Center the actual dialog instance in the middle of a parent window
  Without arguments, the method centers the dialog
    in the middle of the active window
  The Parent argument can be either
    - a ScriptForge dialog object
    - a ScriptForge document (Calc, Base, ...) object

Both methods are available from Basic and Python user scripts

Change-Id: Ic3680739c9d518da3d76d3588943ae5ce6bad8ce
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132418
Tested-by: Jean-Pierre Ledure <jp@ledure.be>
Tested-by: Jenkins
Reviewed-by: Jean-Pierre Ledure <jp@ledure.be>
2022-04-01 14:09:40 +02:00
..
2020-11-06 18:39:55 +01:00