summaryrefslogtreecommitdiff
path: root/indra/llui/llsliderctrl.cpp
diff options
context:
space:
mode:
authormaxim_productengine <mnikolenko@productengine.com>2019-01-29 16:49:16 +0200
committermaxim_productengine <mnikolenko@productengine.com>2019-01-29 16:49:16 +0200
commit347ae7a38bb2535bac4d3c497e216e3178c6e966 (patch)
treed90ee8ca6ef353f44f271fcce8a801ab6a551831 /indra/llui/llsliderctrl.cpp
parent714df9c4f7c9f24eae1064f45306dea01803ba09 (diff)
SL-10430 FIXED Slider control rendering broken
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;