mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-03 09:48: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:
parent
b5525d4ec3
commit
2c947a2c97
Notes:
sideshowbarker
2024-07-19 12:47:40 +09:00
Author: https://github.com/awesomekling
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