diff options
-rw-r--r-- | gui/process-detector-fancy-table.cpp | 2 | ||||
-rw-r--r-- | gui/process_widget.ui | 12 |
2 files changed, 13 insertions, 1 deletions
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 @@ <property name="focusPolicy"> <enum>Qt::NoFocus</enum> </property> + <property name="horizontalScrollBarPolicy"> + <enum>Qt::ScrollBarAlwaysOff</enum> + </property> + <property name="alternatingRowColors"> + <bool>true</bool> + </property> + <property name="textElideMode"> + <enum>Qt::ElideNone</enum> + </property> <property name="cornerButtonEnabled"> <bool>false</bool> </property> + <attribute name="horizontalHeaderMinimumSectionSize"> + <number>0</number> + </attribute> <attribute name="horizontalHeaderStretchLastSection"> <bool>true</bool> </attribute> |