diff options
author | Richard Nelson <none@none> | 2010-07-20 18:39:36 -0700 |
---|---|---|
committer | Richard Nelson <none@none> | 2010-07-20 18:39:36 -0700 |
commit | 20ce01811e3a5565a27de150e4658e996bac3108 (patch) | |
tree | 991ba8b3fb23efc07a1161190652a63b82fd1e3c /indra/llui | |
parent | b0c700bfa0b94ca9288470d1bae78ce12369d4f5 (diff) |
EXT-7654 FIX About Land Floater> Icons missing
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 3d32157406..6f81f5434c 100644 --- a/indra/llui/llcheckboxctrl.cpp +++ b/indra/llui/llcheckboxctrl.cpp @@ -191,7 +191,7 @@ void LLCheckBoxCtrl::reshape(S32 width, S32 height, BOOL called_from_parent) static LLUICachedControl<S32> llcheckboxctrl_btn_size ("UICheckboxctrlBtnSize", 0); const S32 FUDGE = 10; - S32 text_width = mFont->getWidth( mLabel->getText() ) + FUDGE; + S32 text_width = mLabel->getTextBoundingRect().getWidth() + FUDGE; S32 text_height = llround(mFont->getLineHeight()); LLRect label_rect; label_rect.setOriginAndSize( |