mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 11:08:11 +00:00
LibGUI: Add Model::Role::TextAlignment and remove from ColumnMetadata
This commit is contained in:
parent
3c819b8ff4
commit
2e03bded43
19 changed files with 211 additions and 100 deletions
|
@ -48,7 +48,6 @@ class Model : public RefCounted<Model> {
|
|||
public:
|
||||
struct ColumnMetadata {
|
||||
int preferred_width { 0 };
|
||||
Gfx::TextAlignment text_alignment { Gfx::TextAlignment::CenterLeft };
|
||||
enum class Sortable {
|
||||
False,
|
||||
True,
|
||||
|
@ -70,6 +69,7 @@ public:
|
|||
Icon,
|
||||
Font,
|
||||
DragData,
|
||||
TextAlignment,
|
||||
};
|
||||
|
||||
virtual ~Model();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue