summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-01-17 13:44:19 +0000
committerCaolán McNamara <caolanm@redhat.com>2020-01-17 22:06:22 +0100
commit16bbfcd1902e63823f6f1a491442b82024def2bc (patch)
tree6b2663ee1394604b2c9f4d6b5694535e20d812b1 /include
parent00710aebdf339415f1fa2072ef6a76c8bb6a591a (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.hxx5
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: */