mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 07:58:11 +00:00
LibGUI: Fix GTreeView column headers incorrectly scrolling with content
This commit is contained in:
parent
be0b527cfc
commit
7fea25943d
1 changed files with 2 additions and 0 deletions
|
@ -275,6 +275,8 @@ void GTreeView::paint_event(GPaintEvent& event)
|
|||
return IterationDecision::Continue;
|
||||
});
|
||||
|
||||
// Untranslate the painter vertically and do the column headers.
|
||||
painter.translate(0, vertical_scrollbar().value());
|
||||
paint_headers(painter);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue