In (readonly) combo_boxes and flyout_buttons allow use of the font attribute.
This commit is contained in:
@@ -160,6 +160,9 @@ LLView* LLComboBox::fromXML(LLXMLNodePtr node, LLView *parent, LLUICtrlFactory *
|
||||
LLComboBox* combo_box = new LLComboBox("combo_box", rect, label);
|
||||
combo_box->setAllowTextEntry(allow_text_entry, max_chars);
|
||||
|
||||
if (LLFontGL* font = selectFont(node))
|
||||
combo_box->mButton->setFont(font);
|
||||
|
||||
const std::string& contents = node->getValue();
|
||||
|
||||
if (contents.find_first_not_of(" \n\t") != contents.npos)
|
||||
|
||||
Reference in New Issue
Block a user