In (readonly) combo_boxes and flyout_buttons allow use of the font attribute.

This commit is contained in:
Inusaito Sayori
2015-01-03 22:14:53 -05:00
parent 312625036b
commit 794027d91e
2 changed files with 6 additions and 0 deletions

View File

@@ -107,6 +107,9 @@ LLView* LLFlyoutButton::fromXML(LLXMLNodePtr node, LLView* parent, LLUICtrlFacto
flyout_button->mListPosition = ABOVE;
}
if (LLFontGL* font = selectFont(node))
flyout_button->mActionButton->setFont(font);
flyout_button->initFromXML(node, parent);
for (LLXMLNodePtr child = node->getFirstChild(); child.notNull(); child = child->getNextSibling())