summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gui/widgets/browserbox.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/browserbox.cpp b/src/gui/widgets/browserbox.cpp
index 2d9202805..79de4f8ef 100644
--- a/src/gui/widgets/browserbox.cpp
+++ b/src/gui/widgets/browserbox.cpp
@@ -320,7 +320,7 @@ void BrowserBox::addRow(const std::string &row, const bool atTop)
// Adjust the BrowserBox size
const int w = startBold ?
- boldFont->getWidth(plain) : font->getWidth(plain);
+ boldFont->getWidth(plain) : font->getWidth(plain) + 2 * mPadding;
if (w > getWidth())
setWidth(w);
}