diff options
author | Rider Linden <rider@lindenlab.com> | 2019-01-30 14:37:24 -0800 |
---|---|---|
committer | Rider Linden <rider@lindenlab.com> | 2019-01-30 14:37:24 -0800 |
commit | afe5578315fa379b2078b2309bcace0a0b6f3798 (patch) | |
tree | 3cd3072813e7230ca992d89af9960844ccd78a86 /indra/llui/llsliderctrl.cpp | |
parent | c7e02b0835cbb50777c677f618c4a957e69fabee (diff) | |
parent | 16b47db736fed0995eaeeed77ba4dd0d310f1072 (diff) |
Merge
Diffstat (limited to 'indra/llui/llsliderctrl.cpp')
-rw-r--r-- | indra/llui/llsliderctrl.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/llui/llsliderctrl.cpp b/indra/llui/llsliderctrl.cpp index c3c3ce04f9..3b89a8ca63 100644 --- a/indra/llui/llsliderctrl.cpp +++ b/indra/llui/llsliderctrl.cpp @@ -300,6 +300,10 @@ void LLSliderCtrl::updateSliderRect() right -= editor_width + sliderctrl_spacing; } + if (mTextBox) + { + right -= mTextBox->getRect().getWidth() + sliderctrl_spacing; + } if (mLabelBox) { left += mLabelBox->getRect().getWidth() + sliderctrl_spacing; |