diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-10-11 20:15:15 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-10-11 20:21:09 +0100 |
commit | d61168908ced2e4bae32b8e0ae0a6eba6dbf37fc (patch) | |
tree | a49a6bc2264b0966f7ef3ad968faa37dd5272949 /sw | |
parent | 9b6b916ef39619f681f714397a0e3f85f442833d (diff) |
have another shot at placing the expander checkitem optimally
reverts 03569dc7d38e4edf3f3e50f7dff3252116c28ab1 "I hate the positioning of the
expander checkitem in hierarchical view". I still hate it, so merge together
the various places where different efforts are made to try and position the
checkitem optimally and provide a single central place to do that.
Change-Id: I047504945fb5bf94e5f451007eb74328b8b56785
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/ui/fldui/flddinf.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/fldui/flddinf.cxx b/sw/source/ui/fldui/flddinf.cxx index 7cf2d5b204ea..f5bdf1df17c6 100644 --- a/sw/source/ui/fldui/flddinf.cxx +++ b/sw/source/ui/fldui/flddinf.cxx @@ -71,7 +71,7 @@ SwFldDokInfPage::SwFldDokInfPage(Window* pParent, const SfxItemSet& rCoreSet) m_pTypeTLB->SetSelectionMode(SINGLE_SELECTION); m_pTypeTLB->SetStyle(m_pTypeTLB->GetStyle()|WB_HASLINES|WB_CLIPCHILDREN|WB_SORT|WB_HASBUTTONS|WB_HASBUTTONSATROOT|WB_HSCROLL); - m_pTypeTLB->SetIndent(10); + m_pTypeTLB->SetOptimalImageIndent(); // Don't set font, so that the control's font is adobted! // Otherwise at wrong font bug to OV. m_pTypeTLB->SetSpaceBetweenEntries(0); |