diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-04-16 14:49:46 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-04-17 11:24:11 +0200 |
commit | d17d9500a23705a315992ff42cb7c449894fc2ce (patch) | |
tree | c4a64dbde5fb03c3e0d4031fdb2c4645ce57a0d4 /include/vcl/weld.hxx | |
parent | 6e204253d4cf3be0b9ad136e922ec4fbb2523fe6 (diff) |
tdf#124597 template select dialog launched before parent gets final size
Change-Id: If9f6fa6e072a95381aaf4a539e2081733a0248ec
Reviewed-on: https://gerrit.libreoffice.org/70828
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include/vcl/weld.hxx')
-rw-r--r-- | include/vcl/weld.hxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/vcl/weld.hxx b/include/vcl/weld.hxx index 77205ced1f69..d2929d69bc9a 100644 --- a/include/vcl/weld.hxx +++ b/include/vcl/weld.hxx @@ -332,6 +332,10 @@ public: virtual bool get_resizable() const = 0; virtual Size get_size() const = 0; virtual Point get_position() const = 0; + // ensure window will be centered on its parent, taking into account that + // there may currently be pending geometry requests for the parent + // not yet processed by the underlying toolkit + virtual void set_centered_on_parent_geometry_request() = 0; virtual bool has_toplevel_focus() const = 0; virtual void present() = 0; virtual void set_window_state(const OString& rStr) = 0; |