Re-apply user-definable item height in folder views

meow-7.2.2
Ansariel 2013-06-27 17:00:13 +02:00
parent c7196a5d4d
commit 9e879131ea
1 changed files with 6 additions and 1 deletions

View File

@ -114,7 +114,12 @@ LLFolderViewItem::Params::Params()
text_pad_right("text_pad_right", 0),
arrow_size("arrow_size", 0),
max_folder_item_overlap("max_folder_item_overlap", 0)
{ }
{
// <FS:Ansariel> User-definable item height in folder views
static LLCachedControl<S32> FolderViewItemHeight(*LLUI::sSettingGroups["config"], "FSFolderViewItemHeight");
item_height = (S32)FolderViewItemHeight;
// </FS:Ansariel>
}
// Default constructor
LLFolderViewItem::LLFolderViewItem(const LLFolderViewItem::Params& p)