diff options
Diffstat (limited to 'gui/ListWidget.cpp')
-rw-r--r-- | gui/ListWidget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/ListWidget.cpp b/gui/ListWidget.cpp index fa79ef4670..5881d9fcef 100644 --- a/gui/ListWidget.cpp +++ b/gui/ListWidget.cpp @@ -407,7 +407,7 @@ void ListWidget::drawWidget() { if (_selectedItem != pos) { width = g_gui.getStringWidth(buffer) + pad; if (width > _w - r.left) - width = _w - r.left; + width = _w - r.left - _hlRightPadding - _scrollBarWidth; } else width = _w - r.left - _hlRightPadding - _scrollBarWidth; if (width > maxWidth) |