diff --git a/src/plugins/debugger/watchwindow.cpp b/src/plugins/debugger/watchwindow.cpp
index dfcc98250de05ef1e4a5c9e3b8bac67ed0a2af55..97d27d5f0166ff99d865911d203f240fe1f4176e 100644
--- a/src/plugins/debugger/watchwindow.cpp
+++ b/src/plugins/debugger/watchwindow.cpp
@@ -55,7 +55,8 @@ enum { INameRole = Qt::UserRole, VisualRole, ExpandedRole };
 /////////////////////////////////////////////////////////////////////
 
 WatchWindow::WatchWindow(Type type, QWidget *parent)
-  : QTreeView(parent), m_type(type)
+    : QTreeView(parent), m_type(type)
+    , m_alwaysResizeColumnsToContents(true)
 {
     setWindowTitle(tr("Locals and Watchers"));
     setAlternatingRowColors(true);