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
meow-7.2.2
Mike Antipov 2009-11-13 17:52:57 +02:00
parent 977b731dd6
commit 806edae084
2 changed files with 10 additions and 0 deletions

View File

@ -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");
}
}

View File

@ -5739,6 +5739,15 @@ Are you sure you want to delete your teleport history?
yestext="OK"/>
</notification>
<notification
icon="alert.tga"
name="BottomTrayButtonCanNotBeShown"
type="alert">
Selected button can not be shown right now.
The button will be shown when there is enough space for it.
</notification>
<global name="UnsupportedCPU">
- Your CPU speed does not meet the minimum requirements.
</global>