diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-01-07 14:08:57 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-01-09 13:24:12 +0100 |
commit | 006f4caf543d6d6ce5f069b2af8c2ba982dcfb62 (patch) | |
tree | 922eca559917947778a8488d66e0f92cca182306 /include | |
parent | 1f1de88b3acb388082f689229d487956bd5050b0 (diff) |
weld ParaPropertyPanel
Change-Id: Id486c73559e698979e223c7f1ca8a16caba3bbfd
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86357
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/svx/relfld.hxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/svx/relfld.hxx b/include/svx/relfld.hxx index c7370f3159f7..8f8c84dc38f3 100644 --- a/include/svx/relfld.hxx +++ b/include/svx/relfld.hxx @@ -65,6 +65,9 @@ public: void set_text(const OUString& rText) { m_xSpinButton->set_text(rText); } void save_value() { m_xSpinButton->save_value(); } bool get_value_changed_from_saved() const { return m_xSpinButton->get_value_changed_from_saved(); } + void set_size_request(int nWidth, int nHeight) { m_xSpinButton->set_size_request(nWidth, nHeight); } + Size get_preferred_size() const { return m_xSpinButton->get_preferred_size(); } + weld::SpinButton& get_widget() { return m_xSpinButton->get_widget(); } int GetCoreValue(MapUnit eUnit) const { return ::GetCoreValue(*m_xSpinButton, eUnit); } void SetFieldUnit(FieldUnit eUnit, bool bAll = false) { ::SetFieldUnit(*m_xSpinButton, eUnit, bAll); } |