From 7eb63bfb3f16771e5e37b2a992f7defbb087ae8a Mon Sep 17 00:00:00 2001 From: Nimetu Date: Mon, 25 Jun 2018 11:16:59 +0300 Subject: [PATCH] Fixed: Font underline position --HG-- branch : experimental-ui-scaling --- code/nel/src/gui/view_text.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/nel/src/gui/view_text.cpp b/code/nel/src/gui/view_text.cpp index f9403014e..1a175e224 100644 --- a/code/nel/src/gui/view_text.cpp +++ b/code/nel/src/gui/view_text.cpp @@ -1108,7 +1108,7 @@ namespace NLGUI // Draw a line if (_Underlined) - rVR.drawRotFlipBitmap (_RenderLayer, fx, fy - _FontLegHeight*0.3f / _Scale, line_width / _Scale, 1.0f / _Scale, 0, false, rVR.getBlankTextureId(), col); + rVR.drawRotFlipBitmap (_RenderLayer, fx, fy - _FontLegHeight*0.6f / _Scale, line_width / _Scale, 1.0f / _Scale, 0, false, rVR.getBlankTextureId(), col); if (_StrikeThrough) rVR.drawRotFlipBitmap (_RenderLayer, fx, fy + _FontHeight*0.2f / _Scale, line_width / _Scale, 1.0f / _Scale, 0, false, rVR.getBlankTextureId(), col);