summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-10-11 20:15:15 +0100
committerCaolán McNamara <caolanm@redhat.com>2013-10-11 20:21:09 +0100
commitd61168908ced2e4bae32b8e0ae0a6eba6dbf37fc (patch)
treea49a6bc2264b0966f7ef3ad968faa37dd5272949 /sfx2
parent9b6b916ef39619f681f714397a0e3f85f442833d (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 'sfx2')
-rw-r--r--sfx2/source/dialog/templdlg.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/dialog/templdlg.cxx b/sfx2/source/dialog/templdlg.cxx
index c882ab99fbd5..3d067e28ed3e 100644
--- a/sfx2/source/dialog/templdlg.cxx
+++ b/sfx2/source/dialog/templdlg.cxx
@@ -1855,7 +1855,7 @@ void SfxCommonTemplateDialog_Impl::EnableHierarchical(bool const bEnable)
LINK(this, SfxCommonTemplateDialog_Impl, ApplyHdl));
((StyleTreeListBox_Impl*)pTreeBox)->
SetDropHdl(LINK(this, SfxCommonTemplateDialog_Impl, DropHdl));
- pTreeBox->SetIndent(10);
+ pTreeBox->SetOptimalImageIndent();
FillTreeBox();
SelectStyle(aSelectEntry);
pTreeBox->SetAccessibleName(SfxResId(STR_STYLE_ELEMTLIST).toString());