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:
@@ -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));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user