EXT-3446 Manage Telehub floater opens below buildtools
Took out custom positioning code, set left edge to 300 in XMLmeow-7.2.2
parent
dcf3e8884d
commit
1bb4c9e1c9
|
|
@ -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();
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in New Issue