diff options
author | James Cook <james@lindenlab.com> | 2010-01-05 16:28:22 -0800 |
---|---|---|
committer | James Cook <james@lindenlab.com> | 2010-01-05 16:28:22 -0800 |
commit | a3adfe54cb9fc953cae0adf2f61c578aa3ca5842 (patch) | |
tree | a33506af3c061e73b02a79166b009f7a006d5852 /indra/llui | |
parent | cffe23df08bb0066c936efe667f60e90e0f89fd0 (diff) |
EXT-3332 Disabled checkboxes don't use disabled text color
Text label color wasn't being set in constructor.
Added example to floater_test_widgets.xml
Reviewed with Richard
Diffstat (limited to 'indra/llui')
-rw-r--r-- | indra/llui/llcheckboxctrl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llui/llcheckboxctrl.cpp b/indra/llui/llcheckboxctrl.cpp index cd10dfdb1c..3d32157406 100644 --- a/indra/llui/llcheckboxctrl.cpp +++ b/indra/llui/llcheckboxctrl.cpp @@ -107,8 +107,8 @@ LLCheckBoxCtrl::LLCheckBoxCtrl(const LLCheckBoxCtrl::Params& p) { tbparams.font(p.font); } + tbparams.text_color( p.enabled() ? p.text_enabled_color() : p.text_disabled_color() ); mLabel = LLUICtrlFactory::create<LLTextBox> (tbparams); - addChild(mLabel); // Button |