diff options
author | Jean-Pierre Ledure <jp@ledure.be> | 2022-04-01 12:13:12 +0200 |
---|---|---|
committer | Jean-Pierre Ledure <jp@ledure.be> | 2022-04-01 14:09:40 +0200 |
commit | 7c8e9db0e488606baa27a654769a3906f35cc8cd (patch) | |
tree | 5e713ff6d643e5b02ef1c3c777ebebee73cc620e /vcl/source/uitest | |
parent | ede4b852cd183a93161a4a154865793317d9b452 (diff) |
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>
Diffstat (limited to 'vcl/source/uitest')
0 files changed, 0 insertions, 0 deletions