diff options
Diffstat (limited to 'indra/llui/lltextbox.cpp')
-rw-r--r-- | indra/llui/lltextbox.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/indra/llui/lltextbox.cpp b/indra/llui/lltextbox.cpp index 48ff6afbd5..f15383c6f7 100644 --- a/indra/llui/lltextbox.cpp +++ b/indra/llui/lltextbox.cpp @@ -419,6 +419,7 @@ LLView* LLTextBox::fromXML(LLXMLNodePtr node, LLView *parent, LLUICtrlFactory *f text, font, FALSE); + LLFontGL::HAlign halign = LLView::selectFontHAlign(node); text_box->setHAlign(halign); @@ -430,6 +431,12 @@ LLView* LLTextBox::fromXML(LLXMLNodePtr node, LLView *parent, LLUICtrlFactory *f { text_box->mFontStyle = LLFontGL::getStyleFromString(font_style); } + + BOOL mouse_opaque; + if (node->getAttributeBOOL("mouse_opaque", mouse_opaque)) + { + text_box->setMouseOpaque(mouse_opaque); + } if(node->hasAttribute("text_color")) { |