mirror of
https://github.com/RGBCube/serenity
synced 2025-05-16 16:24:59 +00:00
LibGUI: Fix rendering GColumnsView separator
Patch by Sergey Bugaev.
This commit is contained in:
parent
7bc8fa884a
commit
6a529ea425
1 changed files with 4 additions and 1 deletions
|
@ -102,7 +102,10 @@ void GColumnsView::paint_event(GPaintEvent& event)
|
|||
}
|
||||
}
|
||||
|
||||
painter.draw_line({ column_x + column.width, 0 }, { column_x + column.width, frame_inner_rect().bottom() }, palette().button());
|
||||
int separator_height = content_size().height();
|
||||
if (height() > separator_height)
|
||||
separator_height = height();
|
||||
painter.draw_line({ column_x + column.width, 0 }, { column_x + column.width, separator_height }, palette().button());
|
||||
column_x += column.width + 1;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue