1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 05:38:11 +00:00

LibGUI: Rename table view's "cell painting delegate" to "column *"

What you install with this API is a delegate that manages painting of
all the items in a specific column, so let's make the API reflect that.
This commit is contained in:
Andreas Kling 2020-08-26 00:15:48 +02:00
parent 44e371635e
commit cfc30b11ba
5 changed files with 5 additions and 5 deletions

View file

@ -443,7 +443,7 @@ NonnullRefPtr<GUI::Widget> build_file_systems_tab()
df_fields.empend("block_size", "Block size", Gfx::TextAlignment::CenterRight);
fs_table_view.set_model(GUI::SortingProxyModel::create(GUI::JsonArrayModel::create("/proc/df", move(df_fields))));
fs_table_view.set_cell_painting_delegate(3, make<ProgressBarPaintingDelegate>());
fs_table_view.set_column_painting_delegate(3, make<ProgressBarPaintingDelegate>());
fs_table_view.model()->update();
};