Skip to content

Commit

Permalink
Notifications with tooltips on buttons, for when text is too long!
Browse files Browse the repository at this point in the history
  • Loading branch information
LiruMouse committed Mar 10, 2020
1 parent 506c6aa commit 1c46c26
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions indra/newview/llnotify.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -399,6 +399,7 @@ LLButton* LLNotifyBox::addButton(const std::string& name, const std::string& lab

LLButton* btn = new LLButton(name, btn_rect, "", boost::bind(&LLNotifyBox::onClickButton, this, is_option ? name : ""));
btn->setLabel(label);
btn->setToolTip(label);
btn->setFont(font);

if (mIsCaution)
Expand Down

0 comments on commit 1c46c26

Please sign in to comment.