summaryrefslogtreecommitdiff
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-15 15:24:56 +0200
commitad77c80d8bead66674ac54a6418496b492fdc296 (patch)
tree95b860efce42f25bdc802e9a265e35ba7d45a14d
parent364f8bcf1208896c9563398f219e9b6a055b43ad (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> (cherry picked from commit 2dbe7c08340d6505c528544327e7c27f6d690c6c) Reviewed-on: https://gerrit.libreoffice.org/77511
-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 b3c62360c692..9546e3c209b2 100644
--- a/sfx2/source/dialog/dinfdlg.cxx
+++ b/sfx2/source/dialog/dinfdlg.cxx
@@ -1801,6 +1801,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)