summaryrefslogtreecommitdiff
path: root/indra/llui/llscrollbar.cpp
diff options
context:
space:
mode:
authormaksymsproductengine <maksymsproductengine@lindenlab.com>2013-03-28 04:52:24 +0200
committermaksymsproductengine <maksymsproductengine@lindenlab.com>2013-03-28 04:52:24 +0200
commitda8f2ffb16d6df1ccb9f34ddf6f26d799d2ea127 (patch)
treedb9cc545697de6257cb1dd8a54038533ccc1aeaf /indra/llui/llscrollbar.cpp
parent3a31b47028e0ae4945512924219118a74b0c7b27 (diff)
CHUI-855 FIXED Text entry bar auto expand does not resize
Diffstat (limited to 'indra/llui/llscrollbar.cpp')
-rw-r--r--indra/llui/llscrollbar.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/llui/llscrollbar.cpp b/indra/llui/llscrollbar.cpp
index 5d3bf7a670..13887cbe73 100644
--- a/indra/llui/llscrollbar.cpp
+++ b/indra/llui/llscrollbar.cpp
@@ -642,3 +642,8 @@ void LLScrollbar::onLineDownBtnPressed( const LLSD& data )
{
changeLine( mStepSize, TRUE );
}
+
+void LLScrollbar::setThickness(S32 thickness)
+{
+ mThickness = thickness < 0 ? LLUI::sSettingGroups["config"]->getS32("UIScrollbarSize") : thickness;
+}