diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-01-17 13:44:19 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-01-17 22:06:22 +0100 |
commit | 16bbfcd1902e63823f6f1a491442b82024def2bc (patch) | |
tree | 6b2663ee1394604b2c9f4d6b5694535e20d812b1 /include | |
parent | 00710aebdf339415f1fa2072ef6a76c8bb6a591a (diff) |
limit table spinbuttons width for sidebar
to the same width as the paragraph sidebar spinbuttons
Change-Id: I980545b4186b25cb5ada473095ece8c77f99420a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86992
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/svx/dlgctrl.hxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/svx/dlgctrl.hxx b/include/svx/dlgctrl.hxx index eb7f19c79f91..eaa31a5d0e3f 100644 --- a/include/svx/dlgctrl.hxx +++ b/include/svx/dlgctrl.hxx @@ -413,6 +413,11 @@ public: virtual void Paint( vcl::RenderContext& rRenderContext, const tools::Rectangle& rRect ) override; }; +class RelativeField; + +SVX_DLLPUBLIC void limitWidthForSidebar(weld::SpinButton& rSpinButton); +SVX_DLLPUBLIC void limitWidthForSidebar(RelativeField& rMetricSpinButton); + #endif // INCLUDED_SVX_DLGCTRL_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |