diff options
author | James Cook <james@cookmd.com> | 2009-12-30 15:46:53 -0800 |
---|---|---|
committer | James Cook <james@cookmd.com> | 2009-12-30 15:46:53 -0800 |
commit | 4e901957f9414284fa26ca70122f952243e4122c (patch) | |
tree | d7e921bf2bd04b025fef70b444917be22401e06f /indra/newview/llfolderviewitem.cpp | |
parent | f4e2287175ab1bc9d09fc73435a828071b9e2ba5 (diff) |
EXT-3753 Made inventory subfolders indent more.
Changed back to 8 pixel indent, as Ben Glenn was seeing confusion in
user tests with lesser indents. Made it a setting, FolderIndentation
in case we want to change in the future.
Reviewed with Leyla.
Diffstat (limited to 'indra/newview/llfolderviewitem.cpp')
-rw-r--r-- | indra/newview/llfolderviewitem.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/llfolderviewitem.cpp b/indra/newview/llfolderviewitem.cpp index 720c2c7b1a..9d54aafd67 100644 --- a/indra/newview/llfolderviewitem.cpp +++ b/indra/newview/llfolderviewitem.cpp @@ -392,10 +392,11 @@ BOOL LLFolderViewItem::addToFolder(LLFolderViewFolder* folder, LLFolderView* roo // makes sure that this view and it's children are the right size. S32 LLFolderViewItem::arrange( S32* width, S32* height, S32 filter_generation) { + static LLUICachedControl<S32> indentation("FolderIndentation", 0); mIndentation = (getParentFolder() && getParentFolder()->getParentFolder() && getParentFolder()->getParentFolder()->getParentFolder()) - ? mParentFolder->getIndentation() + LEFT_INDENTATION + ? mParentFolder->getIndentation() + indentation : 0; if (mLabelWidthDirty) { |