diff options
author | Martijn Kaijser <machine.sanctum@gmail.com> | 2015-01-28 10:29:20 -0500 |
---|---|---|
committer | Martijn Kaijser <machine.sanctum@gmail.com> | 2015-01-28 10:29:20 -0500 |
commit | 6644d1c301daf6305a0a3407f1f71637c4c02523 (patch) | |
tree | b8b0feb8f865b938cc3668d5fa69e686434ec301 | |
parent | 1804f9594e3d6891f320801959145a3ab8f0e69b (diff) | |
parent | ae4b0f193656ee3b85048d3c21fdbf4b50491dd1 (diff) |
Merge pull request #6288 from mkortstiege/helixfontcutting
[gui] fix font cutting in auto height textboxes
-rw-r--r-- | xbmc/guilib/GUITextBox.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xbmc/guilib/GUITextBox.cpp b/xbmc/guilib/GUITextBox.cpp index b7ef051041..c0e2fa5e4b 100644 --- a/xbmc/guilib/GUITextBox.cpp +++ b/xbmc/guilib/GUITextBox.cpp @@ -227,7 +227,7 @@ void CGUITextBox::Render() uint32_t align = m_label.align; if (m_lines[current].m_text.size() && m_lines[current].m_carriageReturn) align &= ~XBFONT_JUSTIFIED; // last line of a paragraph shouldn't be justified - m_font->DrawText(posX, posY + 2, m_colors, m_label.shadowColor, m_lines[current].m_text, align, m_width); + m_font->DrawText(posX, posY, m_colors, m_label.shadowColor, m_lines[current].m_text, align, m_width); posY += m_itemHeight; current++; } |