sw/source/ui/index/cnttab.cxx | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit 9c6e57342912e60d87d27d07787d6efa05147a20
Author: Caolán McNamara <[email protected]>
AuthorDate: Sat Jun 6 19:17:59 2020 +0100
Commit: Caolán McNamara <[email protected]>
CommitDate: Sun Jun 7 16:10:42 2020 +0200
make table from objects page treeview a better size
Change-Id: Ie7eee6d03633690461937ba9ad904ababcc4ea13
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/95659
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <[email protected]>
diff --git a/sw/source/ui/index/cnttab.cxx b/sw/source/ui/index/cnttab.cxx
index 300d046df5d0..cbdb3c995196 100644
--- a/sw/source/ui/index/cnttab.cxx
+++ b/sw/source/ui/index/cnttab.cxx
@@ -756,6 +756,8 @@ SwTOXSelectTabPage::SwTOXSelectTabPage(weld::Container*
pPage, weld::DialogContr
m_xFromObjCLB->set_text(i, SwResId(RES_SRCTYPES[i].first), 1);
m_xFromObjCLB->set_id(i, sId);
}
+ m_xFromObjCLB->set_size_request(-1,
std::max<int>(m_xFromObjCLB->get_preferred_size().Height(),
+
m_xFromObjCLB->get_height_rows(SAL_N_ELEMENTS(RES_SRCTYPES))) + 2);
SetExchangeSupport();
m_xTypeLB->connect_changed(LINK(this, SwTOXSelectTabPage, TOXTypeHdl));
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits