diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-05-26 16:42:27 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-05-27 10:00:59 +0200 |
commit | ddbdd2e6d751c0708d915e58d9a39a546c61916a (patch) | |
tree | 7b17e85c413c4543693058c0b799c4f314a1560b /cui/source/tabpages | |
parent | 0e258c94980266cc669f3b18025fc9f2dc3abfcb (diff) |
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 <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'cui/source/tabpages')
-rw-r--r-- | cui/source/tabpages/autocdlg.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cui/source/tabpages/autocdlg.cxx b/cui/source/tabpages/autocdlg.cxx index 9245e8784966..7838cd35d816 100644 --- a/cui/source/tabpages/autocdlg.cxx +++ b/cui/source/tabpages/autocdlg.cxx @@ -670,7 +670,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(); |