mirror of
https://github.com/RGBCube/serenity
synced 2025-05-15 06:44:58 +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:
parent
b5525d4ec3
commit
2c947a2c97
4 changed files with 5 additions and 0 deletions
|
@ -9,6 +9,7 @@ ProcessFileDescriptorMapWidget::ProcessFileDescriptorMapWidget(GWidget* parent)
|
|||
set_layout(make<GBoxLayout>(Orientation::Vertical));
|
||||
layout()->set_margins({ 4, 4, 4, 4 });
|
||||
m_table_view = new GTableView(this);
|
||||
m_table_view->set_size_columns_to_fit_content(true);
|
||||
m_table_view->set_model(adopt(*new ProcessFileDescriptorMapModel));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue