summaryrefslogtreecommitdiff
path: root/indra/newview/llfloatermap.cpp
diff options
context:
space:
mode:
authorYuri Chebotarev <ychebotarev@productengine.com>2010-05-18 17:57:04 +0300
committerYuri Chebotarev <ychebotarev@productengine.com>2010-05-18 17:57:04 +0300
commitd3cfb6ca36d2e4624fff626fbf8ab0ed7bc8ec59 (patch)
tree26b6e2eb2f4f5380c8b0cbe4793aa0d6dba6966c /indra/newview/llfloatermap.cpp
parente9d3fcbbb9c99ba2711980f4d70dc76ed05fb65c (diff)
EXT-7112 fix Set map pos,bgnd and size in code to match mockup
--HG-- branch : product-engine
Diffstat (limited to 'indra/newview/llfloatermap.cpp')
-rw-r--r--indra/newview/llfloatermap.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/indra/newview/llfloatermap.cpp b/indra/newview/llfloatermap.cpp
index 5677899dd9..725fc17136 100644
--- a/indra/newview/llfloatermap.cpp
+++ b/indra/newview/llfloatermap.cpp
@@ -232,6 +232,17 @@ void LLFloaterMap::onFocusLost()
void LLFloaterMap::reshape(S32 width, S32 height, BOOL called_from_parent)
{
LLFloater::reshape(width, height, called_from_parent);
+
+ //fix for ext-7112
+ //by default ctrl can't overlap caption area
+ if(mMap)
+ {
+ LLRect map_rect;
+ map_rect.setLeftTopAndSize( 0, getRect().getHeight(), width, height);
+ mMap->reshape( width, height, 1);
+ mMap->setRect(map_rect);
+ }
+
updateMinorDirections();
}