summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMnikolenko Productengine <mnikolenko@productengine.com>2020-09-01 20:03:03 +0300
committerMnikolenko Productengine <mnikolenko@productengine.com>2020-09-01 20:03:03 +0300
commitbac27a9d74bc8eb55699aedcf957ba7532ef02c5 (patch)
treea0aa1c77b7a93a70f3e8b38711bead0bd2d5ed5f
parent18566c502398e0e449717a06b1ffae3966e55522 (diff)
SL-13852 Show menu below the button
-rw-r--r--indra/newview/llpanelmaininventory.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/newview/llpanelmaininventory.cpp b/indra/newview/llpanelmaininventory.cpp
index d24440ebbd..bcbf92a488 100644
--- a/indra/newview/llpanelmaininventory.cpp
+++ b/indra/newview/llpanelmaininventory.cpp
@@ -1168,6 +1168,7 @@ void LLPanelMainInventory::initListCommandsHandlers()
mMenuVisibility = LLUICtrlFactory::getInstance()->createFromFile<LLToggleableMenu>("menu_inventory_search_visibility.xml", gMenuHolder, LLViewerMenuHolderGL::child_registry_t::instance());
mVisibilityMenuButton->setMenu(mMenuVisibility);
+ mVisibilityMenuButton->setMenuPosition(LLMenuButton::MP_BOTTOM_LEFT);
// Update the trash button when selected item(s) get worn or taken off.
LLOutfitObserver::instance().addCOFChangedCallback(boost::bind(&LLPanelMainInventory::updateListCommands, this));