Fix problem rendering underlined characters

This commit is contained in:
David Capello 2014-04-26 16:19:05 -03:00
parent 3935b10467
commit 4ea41e1024

View File

@ -1885,7 +1885,7 @@ void SkinTheme::drawTextString(Graphics* g, const char *t, ui::Color fg_color, u
Rect textWrap = textrc.createIntersect(
// TODO add ui::Widget::getPadding() property
// Rect(widget->getClientBounds()).shrink(widget->getBorder()));
widget->getClientBounds());
widget->getClientBounds()).inflate(0, 1*jguiscale());
if (IntersectClip clip = IntersectClip(g, textWrap)) {
if (!widget->isEnabled()) {