diff options
author | Leyla Farazha <leyla@lindenlab.com> | 2009-12-30 15:34:30 -0800 |
---|---|---|
committer | Leyla Farazha <leyla@lindenlab.com> | 2009-12-30 15:34:30 -0800 |
commit | 58d65d58a90ab61f4fa317c829e96f9d24bbc65b (patch) | |
tree | 8d1478aa6fd7f3b2ba3ef9a6fe43fd769779dacd | |
parent | d2901ab4ce56c837df45c06672053844e8290e61 (diff) |
EXT-2823 Find window: change default open location to the top-left of screen
EXT-2921 [BSI] Default location for Screenshot Floater hides expanded options off screen
reviewed by James
-rw-r--r-- | indra/llui/llview.cpp | 2 | ||||
-rw-r--r-- | indra/newview/skins/default/xui/en/widgets/floater.xml | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/indra/llui/llview.cpp b/indra/llui/llview.cpp index 23e4131e6d..6f8455774d 100644 --- a/indra/llui/llview.cpp +++ b/indra/llui/llview.cpp @@ -2533,6 +2533,7 @@ void LLView::setupParams(LLView::Params& p, LLView* parent) else { p.rect.left = p.rect.left + parent_rect.getWidth()/2 - p.rect.width/2; + p.rect.right.setProvided(false); // recalculate the right } } else @@ -2553,6 +2554,7 @@ void LLView::setupParams(LLView::Params& p, LLView* parent) else { p.rect.bottom = p.rect.bottom + parent_rect.getHeight()/2 - p.rect.height/2; + p.rect.top.setProvided(false); // recalculate the top } } else diff --git a/indra/newview/skins/default/xui/en/widgets/floater.xml b/indra/newview/skins/default/xui/en/widgets/floater.xml index 2263866471..9b4a04cbca 100644 --- a/indra/newview/skins/default/xui/en/widgets/floater.xml +++ b/indra/newview/skins/default/xui/en/widgets/floater.xml @@ -8,6 +8,8 @@ background_visible="true" background_opaque="false" header_height="25" + top="0" + left="0" close_image="Icon_Close_Foreground" restore_image="Icon_Restore_Foreground" minimize_image="Icon_Minimize_Foreground" |