mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 19:17:44 +00:00
LibGUI: Models should always specify font via Model::Role::Font
This gets rid of one field in ColumnData. The goal is to get rid of all fields and lose ColumnData entirely.
This commit is contained in:
parent
57d15acd4c
commit
04187576ff
8 changed files with 23 additions and 26 deletions
|
@ -49,7 +49,6 @@ public:
|
|||
struct ColumnMetadata {
|
||||
int preferred_width { 0 };
|
||||
Gfx::TextAlignment text_alignment { Gfx::TextAlignment::CenterLeft };
|
||||
const Gfx::Font* font { nullptr };
|
||||
enum class Sortable {
|
||||
False,
|
||||
True,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue