From 39007f724dd6c6b380dfea6dc33ec449d34b3871 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sat, 18 Feb 2017 13:20:38 +0100 Subject: gui/process-widget: fix horiz scrollbar right this time --- gui/process-detector-fancy-table.cpp | 2 +- gui/process_widget.ui | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) (limited to 'gui') diff --git a/gui/process-detector-fancy-table.cpp b/gui/process-detector-fancy-table.cpp index ad6a75cc..1f13fc43 100644 --- a/gui/process-detector-fancy-table.cpp +++ b/gui/process-detector-fancy-table.cpp @@ -7,7 +7,7 @@ void FancyTable::resizeEvent(QResizeEvent* e) QTableView::resizeEvent(e); int w = width(); setColumnWidth(2, 32); - w -= 64; + w -= 32; setColumnWidth(0, w / 2); setColumnWidth(1, w / 2); horizontalHeader()->setSectionResizeMode(QHeaderView::Fixed); diff --git a/gui/process_widget.ui b/gui/process_widget.ui index 9768c8da..f6854644 100644 --- a/gui/process_widget.ui +++ b/gui/process_widget.ui @@ -25,9 +25,21 @@ Qt::NoFocus + + Qt::ScrollBarAlwaysOff + + + true + + + Qt::ElideNone + false + + 0 + true -- cgit v1.2.3