summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-08-14 17:16:46 +0100
committerCaolán McNamara <caolanm@redhat.com>2019-08-14 21:40:38 +0200
commit2dbe7c08340d6505c528544327e7c27f6d690c6c (patch)
treea31593a6d3d8560e7f3b6d4bed8cb2a23dbe677e /sfx2
parentbd513456710b69ac2f73e983ee1b823d71b3b47b (diff)
tdf#126859 ensure initial height calculation
Change-Id: If4125886fd8d6b70f8d1bd7fc9d89ad093ff0b26 Reviewed-on: https://gerrit.libreoffice.org/77467 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/dialog/dinfdlg.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sfx2/source/dialog/dinfdlg.cxx b/sfx2/source/dialog/dinfdlg.cxx
index 5c8d83be5398..34d685e61128 100644
--- a/sfx2/source/dialog/dinfdlg.cxx
+++ b/sfx2/source/dialog/dinfdlg.cxx
@@ -1791,6 +1791,8 @@ void CustomPropertiesControl::Init(weld::Builder& rBuilder)
Link<weld::ScrolledWindow&,void> aScrollLink = LINK( this, CustomPropertiesControl, ScrollHdl );
m_xVertScroll->connect_vadjustment_changed(aScrollLink);
+
+ ResizeHdl(Size(-1, nHeight));
}
IMPL_LINK(CustomPropertiesControl, ResizeHdl, const Size&, rSize, void)