LibGUI: Add Model::Role::TextAlignment and remove from ColumnMetadata

This commit is contained in:
Andreas Kling 2020-05-21 19:36:09 +02:00
parent 3c819b8ff4
commit 2e03bded43
Notes: sideshowbarker 2024-07-19 06:16:42 +09:00
19 changed files with 211 additions and 100 deletions

View file

@ -138,13 +138,6 @@ String DisassemblyModel::column_name(int column) const
}
}
GUI::Model::ColumnMetadata DisassemblyModel::column_metadata(int column) const
{
if (column == Column::SampleCount)
return ColumnMetadata { 0, Gfx::TextAlignment::CenterRight };
return {};
}
struct ColorPair {
Color background;
Color foreground;