mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 12:38:12 +00:00
LibGUI: Add a top-left-corner button to table views
If both the row and column headers are visible, we now also show a button in the top left corner. This avoids the headers overlapping each other when you scroll the contents. In the future, this could be hooked up to a "select all" action.
This commit is contained in:
parent
8cacac32b5
commit
9a0f40d4b5
2 changed files with 14 additions and 1 deletions
|
@ -112,6 +112,7 @@ private:
|
|||
|
||||
RefPtr<HeaderView> m_column_header;
|
||||
RefPtr<HeaderView> m_row_header;
|
||||
RefPtr<Button> m_corner_button;
|
||||
|
||||
HashMap<int, OwnPtr<TableCellPaintingDelegate>> m_column_painting_delegate;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue