diff --git a/indra/newview/llfolderview.cpp b/indra/newview/llfolderview.cpp
index 888ddbcbc7b91730d8d96a71239d1e2891a6d486..68faaeaa0b65ace38a605a8f5e663925ee9a82b9 100644
--- a/indra/newview/llfolderview.cpp
+++ b/indra/newview/llfolderview.cpp
@@ -236,9 +236,9 @@ LLFolderView::LLFolderView(const Params& p)
 	LLTextBox::Params text_p;
 	LLFontGL* font = getLabelFontForStyle(mLabelStyle);
 	LLRect new_r = LLRect(rect.mLeft + ICON_PAD,
-						  rect.mTop - TEXT_PAD,
-						  rect.mRight,
-						  rect.mTop - TEXT_PAD - font->getLineHeight());
+			      rect.mTop - TEXT_PAD,
+			      rect.mRight,
+			      rect.mTop - TEXT_PAD - llfloor(font->getLineHeight()));
 	text_p.rect(new_r);
 	text_p.name(std::string(p.name));
 	text_p.font(font);