From 806edae08493b746edc46f3def332030f69a02df Mon Sep 17 00:00:00 2001 From: Mike Antipov Date: Fri, 13 Nov 2009 17:52:57 +0200 Subject: Work on major sub-task EXT-991 (Update bottom bar behavior on resize) Improved functionality to process Buttons showing via context menu - added new alert dialog ("BottomTrayButtonCanNotBeShown") in case when there is no enough space to show button For now it contains a such message: "Selected button can not be shown right now. The button will be shown when there is enough space for it." It should be reviewed by XUI team --HG-- branch : product-engine --- indra/newview/llbottomtray.cpp | 1 + indra/newview/skins/default/xui/en/notifications.xml | 9 +++++++++ 2 files changed, 10 insertions(+) (limited to 'indra') diff --git a/indra/newview/llbottomtray.cpp b/indra/newview/llbottomtray.cpp index c0ab0b27e5..dd06959472 100644 --- a/indra/newview/llbottomtray.cpp +++ b/indra/newview/llbottomtray.cpp @@ -761,6 +761,7 @@ void LLBottomTray::setTrayButtonVisibleIfPossible(EResizeState shown_object_type { // mark this button to show it while future bottom tray extending mResizeState |= shown_object_type; + LLNotifications::instance().add("BottomTrayButtonCanNotBeShown"); } } diff --git a/indra/newview/skins/default/xui/en/notifications.xml b/indra/newview/skins/default/xui/en/notifications.xml index ff0cd7ffeb..194378ea94 100644 --- a/indra/newview/skins/default/xui/en/notifications.xml +++ b/indra/newview/skins/default/xui/en/notifications.xml @@ -5739,6 +5739,15 @@ Are you sure you want to delete your teleport history? yestext="OK"/> + +Selected button can not be shown right now. +The button will be shown when there is enough space for it. + + + - Your CPU speed does not meet the minimum requirements. -- cgit v1.2.3