mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 05:48:12 +00:00
GTableView and friends: API improvements for 'Sortable' flag.
This commit is contained in:
parent
405d7ddec8
commit
6228e18a09
3 changed files with 4 additions and 3 deletions
|
@ -44,8 +44,9 @@ public:
|
|||
struct ColumnMetadata {
|
||||
int preferred_width { 0 };
|
||||
TextAlignment text_alignment { TextAlignment::CenterLeft };
|
||||
bool sortable { true };
|
||||
const Font* font { nullptr };
|
||||
enum class Sortable { False, True };
|
||||
Sortable sortable { Sortable::True };
|
||||
};
|
||||
|
||||
enum class Role {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue