diff options
-rw-r--r-- | gui/process-detector-fancy-table.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gui/process-detector-fancy-table.cpp b/gui/process-detector-fancy-table.cpp index 1f13fc43..f1144afa 100644 --- a/gui/process-detector-fancy-table.cpp +++ b/gui/process-detector-fancy-table.cpp @@ -6,8 +6,9 @@ void FancyTable::resizeEvent(QResizeEvent* e) { QTableView::resizeEvent(e); int w = width(); + setContentsMargins(QMargins(0, 0, 0, 0)); + w -= 64; setColumnWidth(2, 32); - w -= 32; setColumnWidth(0, w / 2); setColumnWidth(1, w / 2); horizontalHeader()->setSectionResizeMode(QHeaderView::Fixed); |