Viewer tags kill adjustments

This commit is contained in:
Siana Gearz
2012-03-22 05:37:38 +01:00
parent 1e9e7d701d
commit 80e53ebb2b
2 changed files with 13 additions and 7 deletions

View File

@@ -145,7 +145,7 @@
<key>Type</key>
<string>Boolean</string>
<key>Value</key>
<integer>1</integer>
<integer>0</integer>
</map>
<key>AscentShowSelfTagColor</key>
<map>

View File

@@ -54,16 +54,12 @@
#include "llworld.h"
#include "llsdutil.h"
#include "llaudioengine.h"
#include "llstartup.h"
//<edit>
#include "llviewermenu.h"
//</edit>
#include "hippogridmanager.h"
// [RLVa:KB]
#include "rlvhandler.h"
@@ -264,6 +260,16 @@ void LLFloaterAvatarList::createInstance(bool visible)
sInstance->setVisible(FALSE);
gSavedSettings.setBOOL("ShowRadar", FALSE);
}
if(gHippoGridManager->getConnectedGrid()->isSecondLife()){
LLScrollListCtrl* list = sInstance->getChild<LLScrollListCtrl>("avatar_list");
list->getColumn(1)->setWidth(0);
list->getColumn(6)->setWidth(0);
list->getColumn(6)->mDynamicWidth = FALSE;
list->getColumn(6)->mRelWidth = 0;
list->getColumn(1)->mDynamicWidth = TRUE;
list->getColumn(1)->mRelWidth = -1;
list->updateLayout();
}
}
//static
void LLFloaterAvatarList::toggle(void*)