summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-04-27 15:55:40 +0100
committerAndras Timar <andras.timar@collabora.com>2017-05-04 12:48:26 +0200
commitc30545977038aa9cbec1cec0892eb5ca806bed76 (patch)
tree66d7800349d0ad5e193f20d43b5d8819879f1eec /sc
parent8c24e27007ea5a6c31c55cc595c14847eec341a6 (diff)
Resolves: tdf#107241 don't let floating function description grow infinitely
Change-Id: Ief87c15c637d725d25416b64739fb3f5f07cded4 (cherry picked from commit e33447a24c6800bbd34ea1463ee823737bf555cd) Reviewed-on: https://gerrit.libreoffice.org/37036 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Jenkins <ci@libreoffice.org> (cherry picked from commit f7f57148258ef407caa3ac81c108f6076caf9b2d)
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/formdlg/dwfunctr.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sc/source/ui/formdlg/dwfunctr.cxx b/sc/source/ui/formdlg/dwfunctr.cxx
index 51ddbff61f48..25d2814ed66c 100644
--- a/sc/source/ui/formdlg/dwfunctr.cxx
+++ b/sc/source/ui/formdlg/dwfunctr.cxx
@@ -58,6 +58,7 @@ ScFunctionWin::ScFunctionWin(vcl::Window* pParent, const css::uno::Reference<css
{
get(aCatBox, "category");
get(aFuncList, "funclist");
+ aFuncList->set_height_request(10 * aFuncList->GetTextHeight());
get(aInsertButton, "insert");
get(aFiFuncDesc, "funcdesc");