cui/source/tabpages/autocdlg.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
New commits: commit d0c5664add278379e07cec673f28d6aec35b1f81 Author: Caolán McNamara <[email protected]> AuthorDate: Sun May 26 16:42:27 2019 +0100 Commit: Miklos Vajna <[email protected]> CommitDate: Fri Jun 7 11:46:28 2019 +0200 Resolves: tdf#125348 some an initial fixed width for the treeview the final width will be determined by the width of the entry boxes above it Change-Id: Ifcac2a2ef220cbacf5cd0ef6531e4a04e10a7326 Reviewed-on: https://gerrit.libreoffice.org/72989 Tested-by: Jenkins Reviewed-by: Caolán McNamara <[email protected]> Tested-by: Caolán McNamara <[email protected]> Reviewed-on: https://gerrit.libreoffice.org/73020 Reviewed-by: Miklos Vajna <[email protected]> diff --git a/cui/source/tabpages/autocdlg.cxx b/cui/source/tabpages/autocdlg.cxx index ee0ab7f2e37a..6a3223aebc33 100644 --- a/cui/source/tabpages/autocdlg.cxx +++ b/cui/source/tabpages/autocdlg.cxx @@ -775,7 +775,9 @@ OfaAutocorrReplacePage::OfaAutocorrReplacePage(TabPageParent pParent, { sNew = m_xNewReplacePB->get_label(); sModify = m_xReplacePB->get_label(); - m_xReplaceTLB->set_size_request(-1, m_xReplaceTLB->get_height_rows(10)); + // tdf#125348 set some small but fixed initial width size, final width will + // depend on the size of the entry boxes + m_xReplaceTLB->set_size_request(42, m_xReplaceTLB->get_height_rows(10)); SfxModule *pMod = SfxApplication::GetModule(SfxToolsModule::Writer); bSWriter = pMod == SfxModule::GetActiveModule(); _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
