summaryrefslogtreecommitdiff
path: root/include/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-08-28 16:36:00 +0100
committerCaolán McNamara <caolanm@redhat.com>2020-08-28 22:01:29 +0200
commite08b4144d9d0f0b05ef0f1c51c111d5a56e616a5 (patch)
treeeb32653d2c2926a0cb2e490054a4e818e4f262c8 /include/vcl
parent918316ba57230b1eaaf5138507546f743687e52b (diff)
move GetMinimumEditHeight calc to weldutils and reuse in calc
Change-Id: I3980bbaf269260243c8fcd8fe95cc03deac144ee Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101558 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include/vcl')
-rw-r--r--include/vcl/weldutils.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/vcl/weldutils.hxx b/include/vcl/weldutils.hxx
index 8a57ecead9b8..7eb4334e0156 100644
--- a/include/vcl/weldutils.hxx
+++ b/include/vcl/weldutils.hxx
@@ -364,6 +364,9 @@ VCL_DLLPUBLIC bool IsEntryVisible(const weld::TreeView& rTreeView, const weld::T
// A Parent's Children are turned into Children of the Parent which comes next in hierarchy
VCL_DLLPUBLIC void RemoveParentKeepChildren(weld::TreeView& rTreeView, weld::TreeIter& rParent);
+
+// return the min height of a weld::Entry
+VCL_DLLPUBLIC int GetMinimumEditHeight();
}
#endif