mirror of
https://github.com/RGBCube/serenity
synced 2025-05-20 03:05:07 +00:00
LibGUI: Get rid of Model::ColumnMetadata and always use auto-sizing
Auto-sizing of view columns is now enabled by default. This removes the last remaining need for ColumnMetadata, so this patch gets rid of it.
This commit is contained in:
parent
c666c251c8
commit
2adb0a07e5
38 changed files with 1 additions and 216 deletions
|
@ -69,11 +69,9 @@ int main(int argc, char** argv)
|
|||
|
||||
auto& tree_view = bottom_splitter.add<GUI::TreeView>();
|
||||
tree_view.set_headers_visible(true);
|
||||
tree_view.set_size_columns_to_fit_content(true);
|
||||
tree_view.set_model(profile->model());
|
||||
|
||||
auto& disassembly_view = bottom_splitter.add<GUI::TableView>();
|
||||
disassembly_view.set_size_columns_to_fit_content(true);
|
||||
|
||||
tree_view.on_selection = [&](auto& index) {
|
||||
profile->set_disassembly_index(index);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue