diff options
author | James Cook <james@lindenlab.com> | 2009-11-11 10:56:31 -0800 |
---|---|---|
committer | James Cook <james@lindenlab.com> | 2009-11-11 10:56:31 -0800 |
commit | a758a799cf79056470dde92c32ea88f2807dfac2 (patch) | |
tree | ee92396cfcf340523be0430648b7fced7cc2960a /indra/llui | |
parent | 062d0a13db505636b186084d42c527a49637f380 (diff) |
Add widgets/ui_ctrl.xml that can set default font size across all widgets.
Individual widgets/*.xml files will need to have explicit font="foo" params
removed to start using the defaults.
Discussed with Richard.
Diffstat (limited to 'indra/llui')
-rw-r--r-- | indra/llui/lluictrl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llui/lluictrl.cpp b/indra/llui/lluictrl.cpp index 08fc8fb784..dd807a3f7e 100644 --- a/indra/llui/lluictrl.cpp +++ b/indra/llui/lluictrl.cpp @@ -38,7 +38,7 @@ #include "llpanel.h" #include "lluictrlfactory.h" -static LLDefaultChildRegistry::Register<LLUICtrl> r("ui_ctrl"); +static LLWidgetNameRegistry::StaticRegistrar r(&typeid(LLUICtrl::Params), "ui_ctrl"); LLUICtrl::Params::Params() : tab_stop("tab_stop", true), |