mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-30 13:19:47 +00:00
ProcessManager: Enable automatic column sizing for all table views
Start making use of the neat new mode in GTableView.
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
ProcessTableView::ProcessTableView(GraphWidget& graph, GWidget* parent)
|
||||
: GTableView(parent)
|
||||
{
|
||||
set_size_columns_to_fit_content(true);
|
||||
set_model(GSortingProxyModel::create(ProcessModel::create(graph)));
|
||||
model()->set_key_column_and_sort_order(ProcessModel::Column::CPU, GSortOrder::Descending);
|
||||
refresh();
|
||||
|
||||
Reference in New Issue
Block a user