EXT-3446 Manage Telehub floater opens below buildtools

Took out custom positioning code, set left edge to 300 in XML
meow-7.2.2
James Cook 2009-12-15 17:09:35 -08:00
parent dcf3e8884d
commit 1bb4c9e1c9
2 changed files with 2 additions and 11 deletions

View File

@ -84,17 +84,6 @@ void LLFloaterTelehub::onOpen(const LLSD& key)
LLToolMgr::getInstance()->setCurrentToolset(gBasicToolset);
LLToolMgr::getInstance()->getCurrentToolset()->selectTool( LLToolCompTranslate::getInstance() );
// Find tools floater, glue to bottom
if (gFloaterTools)
{
LLRect tools_rect = gFloaterTools->getRect();
S32 our_width = getRect().getWidth();
S32 our_height = getRect().getHeight();
LLRect our_rect;
our_rect.setLeftTopAndSize(tools_rect.mLeft, tools_rect.mBottom, our_width, our_height);
setRect(our_rect);
}
sendTelehubInfoRequest();
mObjectSelection = LLSelectMgr::getInstance()->getEditSelection();

View File

@ -1,8 +1,10 @@
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<!-- Explicit left edge to avoid overlapping build tools -->
<floater
legacy_header_height="18"
height="250"
layout="topleft"
left="300"
name="telehub"
help_topic="telehub"
title="TELEHUB"