From b7c909367e2cf022588413accae9d2dc6bd8cf34 Mon Sep 17 00:00:00 2001 From: andreykproductengine Date: Thu, 6 Apr 2017 21:29:43 +0300 Subject: MAINT-7267 Fixed UI missing last symbol of string on hi-res monitors. --- indra/newview/llexpandabletextbox.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'indra/newview/llexpandabletextbox.cpp') diff --git a/indra/newview/llexpandabletextbox.cpp b/indra/newview/llexpandabletextbox.cpp index 314b859cea..711a87dc99 100644 --- a/indra/newview/llexpandabletextbox.cpp +++ b/indra/newview/llexpandabletextbox.cpp @@ -44,7 +44,7 @@ public: mExpanderLabel(more_text) {} - /*virtual*/ bool getDimensions(S32 first_char, S32 num_chars, S32& width, S32& height) const + /*virtual*/ bool getDimensionsF32(S32 first_char, S32 num_chars, F32& width, S32& height) const { // more label always spans width of text box if (num_chars == 0) -- cgit v1.2.3