summaryrefslogtreecommitdiff
path: root/indra/llui/llsliderctrl.cpp
diff options
context:
space:
mode:
authorRider Linden <rider@lindenlab.com>2019-01-30 14:37:24 -0800
committerRider Linden <rider@lindenlab.com>2019-01-30 14:37:24 -0800
commitafe5578315fa379b2078b2309bcace0a0b6f3798 (patch)
tree3cd3072813e7230ca992d89af9960844ccd78a86 /indra/llui/llsliderctrl.cpp
parentc7e02b0835cbb50777c677f618c4a957e69fabee (diff)
parent16b47db736fed0995eaeeed77ba4dd0d310f1072 (diff)
Merge
Diffstat (limited to 'indra/llui/llsliderctrl.cpp')
-rw-r--r--indra/llui/llsliderctrl.cpp4
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;