Commits

Scott Lawrence  committed 5218e99

minor cosmetic changes to spelling floater

  • Participants
  • Parent commits 975f8e2

Comments (0)

Files changed (1)

File indra/newview/llfloaterspellchecksettings.cpp

 	getChild<LLUICtrl>("spellcheck_main_combo")->setCommitCallback(boost::bind(&LLFloaterSpellCheckerSettings::refreshDictionaries, this, false));
 	getChild<LLUICtrl>("spellcheck_moveleft_btn")->setCommitCallback(boost::bind(&LLFloaterSpellCheckerSettings::onBtnMove, this, "spellcheck_active_list", "spellcheck_available_list"));
 	getChild<LLUICtrl>("spellcheck_moveright_btn")->setCommitCallback(boost::bind(&LLFloaterSpellCheckerSettings::onBtnMove, this, "spellcheck_available_list", "spellcheck_active_list"));
-
+	center();
 	return true;
 }
 
 
 	LLSD row;
 	row["columns"][0]["column"] = "name";
-	row["columns"][0]["font"]["name"] = "SANSSERIF_SMALL";
-	row["columns"][0]["font"]["style"] = "NORMAL";
 
 	std::vector<LLScrollListItem*> sel_items = from_ctrl->getAllSelected();
 	std::vector<LLScrollListItem*>::const_iterator sel_it;
 		dict_cur = LLSpellChecker::instance().getPrimaryDictionary();
 	}
 	dict_combo->clearRows();
-	dict_combo->setEnabled(enabled);
 
 	const LLSD& dict_map = LLSpellChecker::getDictionaryMap();
 	if (dict_map.size())
 			dict_combo->clear();
 		}
 	}
+	dict_combo->setEnabled(enabled);
 
 	// Populate the available and active dictionary list
 	LLScrollListCtrl* avail_ctrl = findChild<LLScrollListCtrl>("spellcheck_available_list");
 
 	LLSD row;
 	row["columns"][0]["column"] = "name";
-	row["columns"][0]["font"]["name"] = "SANSSERIF_SMALL";
-	row["columns"][0]["font"]["style"] = "NORMAL";
 
 	active_ctrl->clearRows();
 	active_ctrl->setEnabled(enabled);